HEX to OKLCH Converter

Convert HEX colors to OKLCH instantly. Paste a value below and copy the result.

Also in

About this conversion

HEX is the most common way to write colors on the web: a # followed by six hexadecimal digits, two each for the red, green, and blue channels (00-FF). Shorthand three-digit codes like #FA0 expand each digit, and the format maps one-to-one to RGB.

OKLCH is a modern, perceptually uniform color space supported in CSS: lightness (0-1), chroma, and hue. Unlike HSL, equal changes in OKLCH values produce visually equal changes in color, so palettes and gradients built in OKLCH look more even to the human eye.

To convert HEX to OKLCH, the color is first interpreted in the sRGB color space and then expressed in OKLCH notation. Paste a HEX value like #1FA2FF above and copy the OKLCH result. The conversion happens instantly in your browser, and nothing is uploaded.

Related conversions