← Back to the lab

Palette Generator

Free accessible color palette generator: pick a hue and harmony, get full tone scales with live WCAG AA/AAA contrast checks and one-click fixes.

What it does

  • Color harmonies: complementary, analogous, split-complementary, triad, square, compound and monochrome
  • Seven tones per swatch with live AA/AAA contrast dots for your text colors
  • Click a failing tone to nudge it to the closest passing lightness
  • Export the whole palette as JSON or CSS custom properties

FAQ

What makes a color palette accessible?

Text and background pairs need enough contrast: 4.5:1 for normal text and 3:1 for large text under WCAG AA, or 7:1 and 4.5:1 for AAA. The generator checks every tone against your text colors as you edit.

Can I use the palette in code?

Yes. Copy every tone as CSS custom properties or JSON and paste it into your design tokens or stylesheet.

More free tools