My Tool Studio
WCAG

Accessible Color Palette Generator

Generate evenly-spaced color palettes mathematically guaranteed to pass your chosen WCAG ratio (3:1, 4.5:1, or 7:1) against your background. Copy hex codes or CSS variables.

Always freeNo sign upRuns in your browser
4.7:1
#d53939

Sample text

4.5:1
#7a7a2e

Sample text

4.9:1
#318131

Sample text

4.6:1
#318181

Sample text

7.8:1
#2b2bee

Sample text

4.7:1
#b545b5

Sample text

All 6 colors pass 4.5:1 on #ffffff

How to use

01

Set your background color

The palette is generated against this background, usually your page or card color.

02

Pick a contrast target

4.5:1 for AA text, 7:1 for AAA text, or 3:1 for large text / charts / UI components.

03

Shuffle and copy

Every generated color is guaranteed to pass your target on that background. Copy individual hex codes, the full list, or CSS variables.

Why Accessible Color Palette Generator

Common questions

Which target should I pick?
Use 4.5:1 if the colors will be used for text at normal sizes (WCAG AA), 7:1 for AAA text, and 3:1 if they're for large headlines, chart fills, icons, or UI component borders (criterion 1.4.11).
Why do colors get darker or lighter than my brand palette?
Contrast is mostly a function of lightness. To guarantee the ratio against your background, we keep each hue but push its lightness until the math passes — that's the same trade-off any accessible design system makes.
Are these palettes colorblind-safe too?
Evenly-spaced hues with guaranteed luminance contrast against the background is a good start, but pairs within the palette can still collide for color-blind users. Run the result through our Color Blindness Simulator's palette test to verify.
Is Accessible Color Palette Generator free to use?
Yes. Accessible Color Palette Generator is completely free. There is no sign up, no trial, and no usage cap.
Do I need an account to use Accessible Color Palette Generator?
No. You can start using Accessible Color Palette Generator straight away. We do not ask for an email address or a login.
Is my data uploaded to a server when I use Accessible Color Palette Generator?
No. Accessible Color Palette Generator runs entirely inside your browser, so the input you enter never leaves your device and nothing is sent to us.
Do you store the input I use with Accessible Color Palette Generator?
No. Because everything happens locally in your browser, there is nothing for us to store. Close the tab and it is gone.
How do I use Accessible Color Palette Generator?
Enter or paste your input and Accessible Color Palette Generator updates the result as you go. When it looks right, copy or download it with one click.
Does Accessible Color Palette Generator work on phones and tablets?
Yes. Accessible Color Palette Generator is responsive and works in any modern browser on mobile, tablet, and desktop.
Which browsers does Accessible Color Palette Generator support?
It works in current versions of Chrome, Firefox, Safari, and Edge. For the best experience, keep your browser up to date.
Is there a limit on how often I can use Accessible Color Palette Generator?
No. You can use Accessible Color Palette Generator as many times as you need, at no cost.
Can I use Accessible Color Palette Generator for commercial or client work?
Yes. You are free to use the output in personal, educational, and commercial projects.
Why is Accessible Color Palette Generator free?
The site is supported by advertising, which lets us keep every tool free and open to everyone.
What should I do if Accessible Color Palette Generator gives an unexpected result?
First check that your input is formatted as expected. If something still looks wrong, use the feedback link on the page and we will take a look.

More WCAG tools

View all