OKLCH Color Picker
Pick colors in OKLCH space with lightness, chroma, and hue sliders. See P3 and sRGB gamut boundaries live.
Why OKLCH Beats HSL for Real Design Work
HSL has been the go-to non-RGB color space for CSS for over a decade, but it has a quiet problem: equal numerical steps do not feel equal to the human eye. A 10-point lightness jump on a yellow looks much smaller than the same jump on a blue, which is why HSL-generated palettes usually need hand-correction. OKLCH fixes this by replacing HSL with a perceptually uniform space. Equal lightness numbers in OKLCH look far closer to equally bright across hues than HSL ones do, and changing lightness or chroma leaves the perceived hue nearly unchanged. It is a model fitted to perception data, so it is close to uniform rather than perfect. The space is now native in every modern browser through the CSS oklch() function, which means a value you pick here will render in your CSS without any conversion. The result for designers is fewer hand-tuned palette stops, cleaner brand systems, and predictable behavior across hues. The result for developers is a color format that finally maps cleanly to design tokens and shade scales without the muddy midpoints HSL is known for.
How to Use This OKLCH Picker
Drag the lightness slider to move from black at 0 to white at 1, the chroma slider to move from gray at 0 to maximum colorfulness at roughly 0.4, and the hue slider for the full 360-degree wheel. The live preview swatch updates instantly and the CSS string at the bottom is ready to copy into a stylesheet. Two gamut indicators sit next to the swatch. sRGB is the standard color space every browser and monitor supports, while Display P3 covers a wider range of saturated colors that modern phones, tablets, and most recent laptops can show. When a color falls outside one of these gamuts the corresponding badge turns red, and a screen that cannot show it will display a nearby colour instead. Pull the chroma slider down until both badges turn green for a value that displays consistently everywhere, or accept the warning and let modern displays show the richer color while older displays fall back gracefully. The tool also outputs the color in HEX, RGB and HSL. When it is outside sRGB, those three are the nearest sRGB colour found the CSS Color 4 way (lower OKLCH chroma, keep lightness and hue) rather than each channel clipped, and a two-line CSS fallback appears: hex first, oklch() second, so older browsers use the hex and newer ones the full colour.
Building Shade Scales the OKLCH Way
One of the practical wins from working in OKLCH is the way it transforms shade-scale generation. The traditional HSL approach steps lightness from 95 down to 5 at fixed increments and accepts that the result needs hand-correction at the middle stops, especially for yellow and orange where HSL lightness loses fidelity quickly. The OKLCH approach steps OKLCH lightness instead, which gives a much more even scale across hues with little or no correction. Pick a 500-stop brand color in this picker, then read off the OKLCH lightness value (Tailwind blue-500, #3b82f6, is about 0.62). To generate the rest of the scale, hold hue, step lightness up for the lighter stops and down for the darker ones, and lower chroma where a stop falls outside sRGB (very light and very dark stops cannot carry much colour); the Tailwind v4 OKLCH Palette tool automates this with the canonical 11-stop spacing. The picker is the workbench for designing the 500 stop; the palette generator is the production line for the rest of the scale.
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools