design_suggest_accessible_color
Suggests a foreground color that meets WCAG contrast against a given background while preserving the target hue, helping create accessible color pairings.
Instructions
Suggest a foreground color that meets WCAG contrast against a given background, preserving target hue.
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": {
"background": "<background>"
},
"name": "design_suggest_accessible_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | WCAG level (default: AA) | |
| targetHue | No | Target hue in degrees (0–360) | |
| background | Yes | Background color (hex) |