Open source · MIT · npm

Accessible Color Palette

LLMs ignore contrast rules even when told them, so I moved the rule out of the prompt and into a tool.

Kind
Web tool, library and MCP server
Standard
WCAG 2.2 AA contrast
Design
Algorithm and site design by Marta Herrera Hollingsworth

Open the generatorCode on GitHub

of top-million homepages fail contrast (WebAIM 2026)
83.9%
demo pages generated by four coding agents
45
of them with zero axe-core violations
78%

The rule lives in the tool

The MCP server refuses to emit colour tokens for any pairing that has not passed WCAG 2.2 AA validation. It targets the most common accessibility failure on the web: low contrast.

The same library, for designers

The web generator gives designers the same library: one colour in, a six-shade palette and a chart of which pairs pass WCAG AA out.

Built on research

It builds on Microsoft's a11y-llm-eval research. In 45 demo pages generated by four coding agents and audited with axe-core, 78% had zero violations.

The long version

An MCP for the Most Common Failure of the Web