ColorTool 13
HEX to OKLCH Converter
Get OKLCH values for a brand colour so lightness steps in a scale actually look even.
HEX to OKLCH Converter
108 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Add hex colour in the field above. Nothing is uploaded while you type.
Press “Convert to OKLCH”. The oklch values appears in the result panel instantly.
Copy the oklch values or download the file, then close the tab.
When to use it
Design tokens
Define colours in a perceptual space so dark and light variants stay balanced.
Gradient tuning
Interpolate in OKLCH to avoid muddy midpoints.
CSS modern colours
Paste an oklch() value into a stylesheet for supported browsers.
Questions
What is chroma?
The distance from grey at the same lightness. Higher chroma means a more saturated colour.
Is OKLCH widely supported?
Current browsers support oklch(), but check your support matrix before relying on it alone.
Does this tool upload my data?
No. Everything runs in this browser tab with JavaScript, so hex colour never leaves your device.
What does chroma mean in OKLCH?
Chroma is the colour's distance from grey at a given lightness, roughly how vivid it is. Lowering chroma desaturates without changing which hue you started from, so OKLCH scales stay even.
Can I use oklch() in CSS today?
Modern browsers support the oklch() function; older ones ignore the declaration entirely. Provide a hex or rgb fallback before the oklch line if you still support browsers from before 2023.