calculate-apca-contrast
Calculate APCA (WCAG 3.0) perceptual lightness contrast between text and background colors to evaluate readability and accessibility.
Instructions
Calculate APCA (WCAG 3.0) perceptual lightness contrast between text and background colors
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": {
"textColor": "<textColor>",
"backgroundColor": "<backgroundColor>"
},
"name": "calculate-apca-contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| textColor | Yes | Text/foreground color | |
| backgroundColor | Yes | Background color |