Swatch
Server Details
Check WCAG color contrast, fix failing colors, build 50-950 palettes. No account.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool targets a distinct operation (single pair check, batch check, fix, scale generation), but check_contrast and check_pairs overlap in purpose and an agent could plausibly loop the former instead of using the latter. Descriptions do clarify the single-vs-bulk split, so confusion is minor.
All four tools follow the same swatch_<verb>_<noun> snake_case pattern (check_contrast, check_pairs, fix_contrast, make_scale). Predictable and easy to scan.
Four tools is tight and well-scoped for a color accessibility/contrast utility; each covers a distinct workflow (verify, bulk verify, remediate, generate). Nothing looks redundant or padded.
The core lifecycle of check, batch check, fix, and palette generation is covered. Gaps are minor: no standalone format/conversion tool despite format output being mentioned, and check_pairs claims to handle stylesheets/themes but only accepts explicit pairs.
Available Tools
4 toolsswatch_check_contrastCheck the WCAG contrast of a text and background colorARead-onlyIdempotentInspect
Use when the user asks whether a color combination is readable or accessible, passes WCAG AA or AAA, or has enough contrast (text on a background, button, badge, link color), or what a color is in another format. Returns the exact contrast ratio, pass or fail for normal text, large text and UI components at AA and AAA, the APCA lightness contrast and a plain note. Colors can be hex, rgb(), hsl() or CSS names. Example: {"foreground": "#777777", "background": "#ffffff"}. Also returns each color in hex, rgb, hsl and oklch with its nearest CSS name.
Inputs: background (required), foreground (required).
swatch_check_pairsCheck contrast for many color pairs at onceARead-onlyIdempotentInspect
Use when the user has a whole design system, theme or stylesheet and wants every text and background pair checked for accessibility in one go. Takes up to 50 pairs and returns the ratio and AA and AAA results for each, with a count of failures. Example: {"pairs": [{"foreground": "#777", "background": "#fff", "label": "muted text"}, {"foreground": "#fff", "background": "#ff5a1f", "label": "button"}]}.
Inputs: pairs (required).
swatch_fix_contrastFind the nearest accessible color that passes contrastARead-onlyIdempotentInspect
Use when a color pair fails contrast and the user wants the smallest change that makes it pass, such as "make this gray text accessible without changing the look". Returns the closest text color on that background that reaches the target (AA, AAA, AA-large or ui), and separately the closest background, keeping the hue. Example: {"foreground": "#777777", "background": "#ffffff", "target": "AA"}. Returns already_passes if nothing needs to change.
Inputs: background (required), foreground (required), target.
swatch_make_scaleBuild a 50-950 color palette from one colorARead-onlyIdempotentInspect
Use when the user asks for a palette, shades, tints, a design-token scale or a Tailwind-style 50 to 950 ramp from a brand color. Returns 11 steps that keep the hue, with the hex, contrast on white and on black, and the best text color for each step. Example: {"color": "#ff5a1f", "name": "brand"}.
Inputs: color (required), name.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
WCAG color contrast checks, nearest accessible color, CSS color conversion and palette pair checks.
Contrast checks with fixes, OKLCH harmonies, palettes, color-blind previews and code export.
WCAG contrast & palettes
Solve, audit and simulate colorblind-safe chart palettes. WCAG contrast, OKLab ΔE. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables checking WCAG color contrast ratios and accessibility compliance between color pairs. Helps determine optimal text colors for backgrounds and validates color combinations meet accessibility standards.28 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to measure text and background contrast with WCAG 2 and APCA, receive nearest passing color fixes at the same hue, generate contrast-safe palettes, and audit real pages for accessibility failures.MIT
- AlicenseNot gradedqualityBmaintenanceExtract palettes from images, generate harmonies, gradients, random palettes; Check WCAG and APCA contrast; Suggest nearest passing OkLCH lightness; Simulate color-blindness; Convert and sort colors across formats (hex / RGB / HSL / OkLCH / …)MIT
- AlicenseNot gradedqualityDmaintenanceEnables accurate WCAG color contrast checking and accessibility analysis by calculating actual contrast ratios between color pairs, checking compliance levels, and analyzing luminance values for web accessibility.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.