Accessible Palette

📖 Learn More

Related Guide How to Build an Accessible Color Palette →

What Is Accessible Palette Generator?

Accessible Palette Generator checks a set of colours against the WCAG contrast thresholds for text and UI elements. For each colour it shows the contrast ratio against a white or a dark background and whether it passes AAA (7:1), AA (4.5:1) or AA for large text (3:1), then exports the set as CSS custom properties. It does not invent colours for you: you choose each one and adjust it until it passes.

How to Use This Tool

Edit the six starter colours or add your own with + Add Color: pick each one with the colour input and give it a name. Choose what to test against, White (#FFF) or Dark (#1A1A2E). Each card shows its ratio and which of AAA, AA and AA-large it passes, and Copy CSS gives you a :root block with one --color-name variable per colour. Everything runs in your browser.

Why Use Accessible Palette Generator?

Checking every colour of a palette one by one in a contrast checker is slow, and switching the background is where mistakes creep in. Here the whole set is re-checked the moment you change a colour or flip between light and dark. It's free and needs no account.

Common Use Cases

Building a brand palette from scratch where the design system needs guaranteed contrast between every text color and its background. Reworking a legacy palette that's accumulated colors over years without an accessibility lens, and needs systematic auditing before a redesign. Producing color variants for state (hover, active, disabled, error, success) that all clear the same contrast bar.

Designing for dark mode and light mode together, where each accent color needs a valid pair against both backgrounds. Creating semantic-color ramps (success, warning, error, info) where the deepest tone needs to be readable as button text and the lightest as a background fill. Validating a color recommended by a marketing team meets the legal accessibility bar before it ships.

Worked example: the six starter colours on both backgrounds

On October 12, 2026 we ran the tool's own contrast function (the WCAG 2.x relative-luminance formula) on its six default colours, against both test backgrounds.

ColourOn white #FFFFFFOn dark #1A1A2E
Primary #2563EB5.17:1, AA3.30:1, large text only
Danger #DC26264.83:1, AA3.53:1, large text only
Success #16A34A3.30:1, large text only5.18:1, AA
Purple #9333EA5.38:1, AA3.17:1, large text only
Warning #EA580C3.56:1, large text only4.79:1, AA
Teal #0891B23.68:1, large text only4.63:1, AA

What that shows:

The ratio uses the WCAG 2.x formula, which is what current laws and audits refer to. APCA, a contrast method discussed for WCAG 3, scores pairs differently (it depends on which colour is the text), but WCAG 3 is still a Working Draft and sets no conformance requirement.

Frequently Asked Questions

What makes a color palette accessible?+
An accessible palette ensures sufficient contrast between text and background colors. Each color pair must meet WCAG 2.1 minimum contrast ratios: 4.5:1 for normal text (AA) and 7:1 for enhanced readability (AAA).
How many colors should an accessible palette have?+
Most design systems use 5-8 primary colors plus neutrals. Each color needs light and dark variants that maintain contrast requirements. Quality over quantity — fewer accessible colors beat many inaccessible ones.
Can brand colors be accessible?+
Most brand colors can be made accessible by adjusting lightness. A bright yellow may fail on white but pass on dark backgrounds. Generate tints and shades of your brand color to find accessible variants.
What about colorblind users?+
Beyond contrast ratios, avoid relying solely on color to convey information. Use patterns, icons, or labels alongside color. About 8% of men and 0.5% of women have some form of color vision deficiency.
What contrast ratios does the generator target?+
It doesn't target one: every colour is checked against all three WCAG 2.x thresholds at once. AAA means at least 7:1, AA at least 4.5:1, and AA-L (large text, and the 3:1 that WCAG 2.1 asks of UI components) at least 3:1. The pass/fail badges use the exact ratio, and the number on the card is shown to two decimals, cut off rather than rounded, so a pair just under a threshold never displays as passing.
Can I lock specific colours and generate around them?+
No. The tool does not generate colours. You set every colour yourself, so to work around a brand colour, keep it and adjust the others until they pass; the Color Shade Generator can produce lighter and darker steps of a colour to try.
Does the palette cover dark mode?+
Partly. Use Test against to check every colour's contrast on white (#FFF) or on a dark background (#1A1A2E), so you can see which colours work in light and dark themes. The tool does not generate a separate dark-mode palette; adjust the colours that fail on dark by hand.
Are colour-blindness-friendly palettes supported?+
Not in this tool: it checks contrast only and has no colour-vision filter. Preview the finished palette in our Color Blindness Simulator, and don't rely on colour alone to carry meaning (WCAG 1.4.1).

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service