OKLCH 50–950 Scale Generator

Generate perceptually balanced 50–950 UI color scales from any seed color with chroma curves, WCAG/APCA readouts, and @theme export.

50–950 + APCA
  • 100% browser-local
  • Zero server transfers
  • CSS Color 4 precision
or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · Paste Hex, RGB, HSL, OKLCH or use Screen Eyedropper

Instant Before & After Specimen

11-Step Ramp + Hue Shift
Input Samplecobalt-scale.css
#2563EB
Expected OutputDTCG JSON
--color-brand-50: oklch(0.971 0.013 262.88);
--color-brand-500: oklch(0.623 0.194 262.88);
--color-brand-600: oklch(0.546 0.215 262.88);
--color-brand-950: oklch(0.258 0.092 262.88);

OKLCH vs DTCG JSON

Source vs. target format specification comparison
PropertySource: OKLCHTarget: DTCG JSON
Gamut scopeWide Gamut (P3 / Unbounded)Wide Gamut (P3 / Unbounded)
Perceptual uniformityYesYes
Alpha channel supportYesYes
Human readabilityHighHigh
Extension / Token.css / .json.tokens.json
Best forPerceptually uniform UI palettes, Tailwind v4 design tokens, and wide-gamut CSSVendor-neutral Figma <-> Git <-> Style Dictionary <-> CSS/iOS/Android pipelines

How to use OKLCH Scale Generator

OKLCH Scale Generator — cleanly inside your local browser with zero server transfers.

  1. Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
  2. Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
  3. Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.

Frequently asked questions

How does Colr keep 50–100 and 900–950 stops vibrant without mud?

A cosine-tapered chroma envelope preserves jewel-like midtones while preventing gamut clipping on pale and ultra-dark stops.

Can I copy WCAG AA & APCA scores for every step?

Yes — each swatch tile previews black vs white ink legibility directly inside the ramp.