OKLCH to RGB Converter
Convert an OKLCH color (Lightness, Chroma, Hue) to RGB, entirely in your browser.
L: 0.6 C: 0.15 H: 250°
RGB
rgb(39, 132, 213)
Other Formats
rgb(15.3%, 51.8%, 83.5%)#2784d5How OKLCH to RGB conversion works
OKLCHis a cylindrical form of the perceptually uniform OKLab color space, expressed as Lightness (0–1), Chroma (colorfulness), and Hue (0–360°). It's increasingly used in modern CSS for building color scales and gradients that stay visually consistent across hues. RGB is the classic device color model (red, green, blue channels, 0–255 each) that browsers, image formats, and most design tools ultimately render with.
To convert, this tool first turns OKLCH into OKLab (a = C·cos(H), b = C·sin(H)), then reverses Björn Ottosson's OKLab transform to get linear LMS values, converts those to linear sRGB via a fixed matrix, and finally gamma-encodes the result to standard 8-bit sRGB — all client-side in your browser, with nothing sent to a server. Since OKLCH can describe colors outside the sRGB gamut (colors your screen can't reproduce), out-of-gamut inputs are clamped to the nearest valid RGB color and flagged above.
Need a different target format? Try OKLCH to HEX, OKLCH to HSL, or go the other way with OKLCH Color Converter (HEX to OKLCH/OKLab), plus the all-in-one color converter.
Private & free — this tool runs entirely in your browser.