audit_ui_colors
Audit all UI foreground/background pairs and optional swatches in one call for WCAG, APCA, color-blindness, simultaneous-contrast, and disliked-color issues, with hue-preserving fixes.
Instructions
Audit an entire UI's foreground/background pairs and optional palette swatches in one call. Checks WCAG 2.x, APCA Lc, color-blindness contrast collapses, simultaneous-contrast vibration, and universally disliked colors — and provides exact hue-preserving fixes for every failing pair.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_ui_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | No | Foreground/background pairs to audit (up to 100) | |
| swatches | No | Optional standalone palette swatches to check for bile-zone/CVD collisions |