Skip to main content
Glama

Server Details

Check WCAG color contrast, fix failing colors, build 50-950 palettes. No account.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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 tools
swatch_check_contrastCheck the WCAG contrast of a text and background colorA
Read-onlyIdempotent
Inspect

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 onceA
Read-onlyIdempotent
Inspect

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 contrastA
Read-onlyIdempotent
Inspect

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 colorA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      B
      maintenance
      Extract 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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources