design_check_palette_contrast
Checks all pairwise contrasts in a color palette and flags pairs below a specified threshold to help ensure accessible color combinations.
Instructions
Check all pairwise contrasts in a color palette. Flags pairs below threshold.
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": "design_check_palette_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | Yes | Array of hex colors | |
| threshold | No | Minimum contrast ratio (default: 3.0) |