Color & Contrast

Enter any HEX, RGB, HSL, or OKLCH color or use the picker. Generates a perceptual OKLCH 50–950 scale and checks WCAG 2.1 AA/AAA contrast.

ready

Processing runs on your device.

Frequently asked questions

Why does the palette generator use OKLCH?

OKLCH is perceptually uniform, so steps from 50 to 950 maintain consistent visual lightness across every hue.

Which WCAG contrast levels are checked?

It checks WCAG 2.1 AA (4.5:1 normal / 3:1 large text) and AAA (7:1 normal / 4.5:1 large text), with one-click foreground/background swap.

Can I copy the palette for CSS or Tailwind?

Yes. Export the 11-step scale as CSS custom properties or Tailwind config JSON with one click.