HEX → OKLCH

Convert HEX to OKLCH

Translate HEX colors into OKLCH values with professional-grade color science and live previews.

Tip: Hover over the input to auto-paste from clipboard

Paste or type a color value

Auto-detects HEX, RGB, HSL, and 12+ formats

Frequently Asked Questions

Converting HEX to OKLCH Colors

Convert HEX (Hexadecimal color values) values into OKLCH (Perceptually uniform LCH) without leaving the browser. Color.js powers every conversion so you can trust the numbers in production.

Example Conversion

Input (HEX)

#3B82F6

Output (OKLCH)

oklch(0.700 0.144 242.8)

A
About HEX

Hexadecimal color values. This color format is commonly used in digital design and interface work.

B
About OKLCH

Perceptually uniform LCH. Converting to this format is useful for perceptually even gradients and accessibility tuning.

Common Use Cases

Designers matching HEX specs to developer-ready OKLCH values
Front-end teams translating design tokens across formats
Print and production teams validating color data before export
Educators explaining how modern color models relate to legacy spaces