Design.dev design.dev

OKLCH Color Converter

Convert colors between HEX, RGB, HSL, HWB, OKLCH, and LAB. Generate accessible palettes, harmonies, and export to CSS variables.

Color Input

#6366F1
Out of sRGB gamut

OKLCH Controls

Adjust Lightness, Chroma, and Hue directly. Lock values to preserve them while adjusting others.

Lightness (L) 0–1 0.55
Chroma (C) 0–0.4 0.26
Hue (H) 0–360° 264°

All Conversions

Palette Generator

Contrast Checker

Check contrast ratio against a background color for WCAG compliance.

Foreground Text

Sample text with your color on the background.

Theme Builder

Build a complete theme with guaranteed contrast ratios. Click "Generate" to create accessible theme colors from your base color.

Background
Surface
Text
Border
Accent

Export

/* Select a color to see export options */
Copied!