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#2563EB--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);| Property | Source: OKLCH | Target: DTCG JSON |
|---|---|---|
| Gamut scope | Wide Gamut (P3 / Unbounded) | Wide Gamut (P3 / Unbounded) |
| Perceptual uniformity | Yes | Yes |
| Alpha channel support | Yes | Yes |
| Human readability | High | High |
| Extension / Token | .css / .json | .tokens.json |
| Best for | Perceptually uniform UI palettes, Tailwind v4 design tokens, and wide-gamut CSS | Vendor-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.
- Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
- Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
- 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.