Convert OKLCH to RGB & P3
Inspect exact 0–255 sRGB, linear RGB, and Display P3 channel readouts from any CSS Color 4 oklch() input.
0 bytes sent
- 100% browser-local
- Zero server transfers
- CSS Color 4 precision
or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · Paste Hex, RGB, HSL, OKLCH or use Screen Eyedropper
Instant Before & After Specimen
Exact sRGB 8-bit + CSS rgb()oklch(0.62 0.22 260)rgb(39 125 255)| Property | Source: OKLCH | Target: RGB |
|---|---|---|
| Gamut scope | Wide Gamut (P3 / Unbounded) | sRGB (Standard Web) |
| Perceptual uniformity | Yes | No |
| Alpha channel support | Yes | Yes |
| Human readability | High | Medium |
| Extension / Token | .css / .json | .css / .json |
| Best for | Perceptually uniform UI palettes, Tailwind v4 design tokens, and wide-gamut CSS | Pixel buffers, Canvas 2D shaders, and programmatic alpha opacity blending |
How to use OKLCH to RGB
OKLCH to RGB — cleanly inside your local browser with zero server transfers.
- Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
- Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
- Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.
Frequently asked questions
Can I copy 0–1 floating RGB floats for shaders?
Yes — the converter reveals both 0–255 CSS rgb() and normalized 0–1 channel values ready for Canvas or WebGL.
What if my OKLCH color exceeds sRGB 255?
CSS Color 4 binary chroma reduction clamps cleanly onto the [0, 255] gamut edge without distorting hue.