Skip to content
Convertto
rgboklch

RGB to OKLCH Converter

Convert a RGB colour to OKLCH, with a live swatch and every other notation alongside.

To convert RGB to OKLCH, paste your colour above — any recognisable notation is accepted, including named CSS colours — and every format is shown at once with a live swatch. OKLCH is perceptually uniform — equal numeric steps look like equal visual steps, which is why it produces far better colour scales than HSL.

Runs in your browser

About converting RGB to OKLCH

RGB gives each channel as 0–255. It is the same colour space as hex, just written differently, and adds an alpha channel as a fourth value. OKLCH is perceptually uniform — equal numeric steps look like equal visual steps, which is why it produces far better colour scales than HSL.

Convert OKLCH to RGB insteadOpen the full Colour Converter

Share this converter