Skip to content
Colour converter

HEX to OKLCH

Convert HEX color values to OKLCH instantly. Paste any HEX value into the free Color Converter and get the OKLCH equivalent (plus RGB, HSL, HSV, OKLCH and CMYK) with one click — all in your browser, nothing uploaded.

Example

#10B981
HEX#10B981
OKLCHoklch(70% 0.15 162)

HEX to OKLCH on common colours

The same conversion run on colours from across the wheel, black and white included — the ends of the range are where formats differ most. Click a name for that colour’s full breakdown.

ColourHEXOKLCH
Black#000000oklch(0% 0 0)
White#FFFFFFoklch(100% 0 90)
Slate 500#64748Boklch(55% 0.04 257)
Red 500#EF4444oklch(64% 0.21 25)
Lime 500#84CC16oklch(77% 0.2 131)
Green 500#22C55Eoklch(72% 0.19 150)
Violet 500#8B5CF6oklch(61% 0.22 293)
Pink 500#EC4899oklch(66% 0.21 354)

About the formats

HEX

HEX is a 6-digit hexadecimal code (e.g. #3B82F6) — the most common way to write colors in HTML/CSS.

OKLCH

OKLCH is a modern, perceptually-uniform CSS color space (Lightness, Chroma, Hue).

Other conversions

Try this conversion on a real colour

Copied