#d53939Sample text
#7a7a2eSample text
#318131Sample text
#318181Sample text
#2b2beeSample text
#b545b5Sample text
Live preview on your background
Heading in color 1
A link or small text in color 2. Read more
Export: Tailwind, SCSS, JSON tokens, CSS, SVG, PNG, ASE, PDF
:root {
--accessible-1: #d53939;
--accessible-2: #7a7a2e;
--accessible-3: #318131;
--accessible-4: #318181;
--accessible-5: #2b2bee;
--accessible-6: #b545b5;
}Color blindness check
Pairs listed here look almost the same to people with that type of color blindness. Do not use them as the only way to tell two things apart, for example two lines in the same chart.
How to use
Set the background and brand color
Pick or type the background your colors will sit on, such as #FFFFFF. Optionally add your brand color so the palette starts from its hue, and tick the dark mode option with a dark background to build a second set.
Choose a count and contrast target
Set Colors from 2 to 12 and choose 3:1 for large text and chart fills, 4.5:1 AA for normal text, or 7:1 AAA. Press Shuffle hues for a different starting point.
Review the preview and export
Check the live preview and the color blindness list, then pick an export format and copy or download it. Copy share link saves the whole setup as a URL.
Why Accessible Color Palette Generator
- Every color is checked against your chosen WCAG ratio.
- Optional dark mode set with the same hues.
- Live preview of text, buttons, tags and charts.
- Flags pairs that look alike with color blindness.
- Exports CSS, SCSS, Tailwind, JSON, SVG, PNG, ASE and PDF.
Contrast targets and accessible chart colors
The three targets map to different parts of WCAG 2. Choose based on how the colors will be used, not on how they look in the swatch grid.
For dashboards, color is rarely enough on its own. Keep a legend or direct labels, use at most six to eight series colors, and vary lightness as well as hue so the series still separate in grayscale. Run the color blindness check after every change, and if a pair is flagged, either drop one of the colors or pair it with a pattern or marker shape.
| Target | Where it applies | WCAG criterion |
|---|---|---|
| 3:1 | Large text, chart bars and lines, icons, input borders, focus rings | 1.4.3 (large text), 1.4.11 |
| 4.5:1 | Normal body text and links at AA | 1.4.3 |
| 7:1 | Normal body text at AAA | 1.4.6 |
Common questions
How does the accessible palette generator make sure every color passes?
Which contrast target should an accessible palette use?
Can I start an accessible palette from my brand color?
Why does the palette generator return fewer colors or none at all?
Are the generated accessible colors safe for color blind users?
Can I make accessible chart colors for a dark dashboard?
Does shuffling hues keep the palette accessible?
How do I copy an accessible palette as CSS variables?
Can one accessible palette work in light and dark mode?
More WCAG tools
View allWebsite Accessibility Scanner
Full-site WCAG 2.1 audit with fix code for every issue
Color Contrast Checker
WCAG AA/AAA contrast ratio with passing colors
WCAG Accessibility Checker
Check one page or HTML against 70 WCAG 2.1 rules
ADA Title II Compliance Checker
WCAG 2.1 AA scan, deadline calculator and Title II readiness checklist