#d53939Sample text
#7a7a2eSample text
#318131Sample text
#318181Sample text
#2b2beeSample text
#b545b5Sample text
How to use
Set the background color
Enter the surface your colors will sit on, using the hex field or the picker. Accessibility is always relative to a background, so this input drives everything else.
Choose a count and contrast target
Ask for 2 to 12 colors, then pick a target with the 3:1, 4.5:1 AA, or 7:1 AAA buttons depending on whether the colors carry charts, body text, or AAA text.
Shuffle, then copy the output
Press Shuffle hues to rotate the whole palette until it suits your brand, then grab the comma-separated hex list or ready-to-paste CSS variables with one click.
Why Accessible Color Palette Generator
- Every color mathematically guaranteed to pass your chosen WCAG ratio.
- Evenly-spaced hues, so the palette works for charts and category colors.
- Outputs hex list and ready-to-paste CSS custom properties.
- Shuffle for alternative hue rotations until it matches your brand.
Common questions
How does the generator guarantee an accessible palette?
Which contrast target should my palette use?
Why does the palette generator sometimes return nothing?
Can I generate accessible chart colors for a dark dashboard?
Does shuffling hues break the accessibility guarantee?
Can I copy the generated palette as CSS variables?
Are the generated palettes colorblind-safe as well?
More WCAG tools
View allWCAG Accessibility Scanner
Full-site WCAG 2.1 audit with fix code for every issue
Color Contrast Checker
WCAG AA/AAA contrast ratios with suggested compliant colors
Instant Accessibility Checker
Check one page or pasted HTML against 70 WCAG checks instantly
ADA Title II Checker
WCAG 2.1 AA assessment + readiness checklist for the 2026 deadline