Check every pair in a palette
check_paletteContrast ratio for every pair of 2 to 12 colors (up to 66 pairs), highest first, each flagged against the chosen WCAG level. Use it to see which brand colors can be used together for text. Read-only. Same engine as GET /api/palette.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"colors": "<colors>"
},
"name": "check_palette"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | WCAG target: aa 4.5:1 (default), aa-large 3:1, aaa 7:1, aaa-large 4.5:1, ui 3:1 (non-text). | aa |
| colors | Yes | 2 to 12 CSS colors. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| level | No | ||
| notes | No | ||
| pairs | Yes | ||
| colors | No | ||
| target | No | ||
| passing | Yes | ||
| version | Yes |