Developer Tools ToolWCAG 2.2 Compliant

OKLCH Color Picker — Perceptually Uniform Color Selection

Pick colors in OKLCH with Lightness, Chroma, and Hue controls. Perceptually uniform space for predictable gradients, accessible palettes, and modern CSS.

OKLCH Direct Parameter Controls

Quick Sample Swatches:
Inside sRGB Gamut
Sample UI Text (Black Foreground)
CSS OKLCH

oklch(62.0% 0.220 265.0)

sRGB HEX

#4379FF

sRGB Function

rgb(67, 121, 255)

Quick Answer: What is an OKLCH color picker?

An OKLCH color picker is an interactive design tool that allows direct manipulation of Lightness (L), Chroma (C), and Hue (H) in the perceptually uniform OKLCH color space. It displays CSS oklch() strings, converts values to sRGB HEX and RGB formats, monitors sRGB gamut boundaries, and evaluates accessibility contrast.

Frequently Asked Questions — OKLCH Color Picker

Authoritative answers to common questions about oklch color picker concepts, standards, and workflow integration.

What is OKLCH in CSS?

OKLCH is a cylindrical color space based on the Oklab perceptually uniform model. It uses L (Lightness, 0-100%), C (Chroma, color intensity), and H (Hue, 0-360°). Unlike HSL, OKLCH ensures that changing hue doesn't unexpectedly change perceived brightness, making it ideal for accessible design.

Why is OKLCH better than HSL for web design?

OKLCH is perceptually uniform while HSL is not. In HSL, hsl(60 100% 50%) yellow and hsl(240 100% 50%) blue have the same "lightness" value, but yellow appears far brighter. OKLCH fixes this — 50% lightness looks equally bright regardless of hue, producing predictable and accessible color manipulation.

Is OKLCH supported in modern browsers?

Yes, OKLCH is supported in all modern browsers as of 2023-2024. The CSS syntax is oklch(70% 0.2 250) where 70% is lightness, 0.2 is chroma, and 250 is the hue angle. Safari, Chrome, Firefox, and Edge all render OKLCH colors correctly.

What is Chroma in the OKLCH color space?

Chroma (C) in OKLCH represents color intensity or saturation on a perceptual scale. A chroma of 0 is grayscale; higher values are more vivid. Unlike HSL saturation, chroma has a maximum that varies by hue and lightness, which PaletteKey visualizes as a gamut boundary curve.

How do I convert OKLCH colors to Tailwind CSS?

Use the OKLCH Color Picker to find your color, then send it to the Tailwind Color Generator. PaletteKey creates a full 50-950 scale in OKLCH format and exports a tailwind.config.js or CSS v4 @theme config ready for production use.