For dashboards and data-heavy UI
Build clear hierarchy with dependable contrast, semantic tokens, and readable data colors.
Convert colors to and from OKLCH, the modern perceptually uniform color space. Get gamut warnings for colors outside sRGB.
#6366F1
rgb(99, 102, 241)
oklch(0.585 0.204 277.1)
OKLCH is a perceptually uniform color space. Unlike HSL, adjusting lightness in OKLCH produces visually consistent results across hues, making it ideal for accessible color palettes.
Build clear hierarchy with dependable contrast, semantic tokens, and readable data colors.
Create reusable color scales and exports for CSS variables, Tailwind, and documentation handoff.
OKLCH is a perceptually uniform color space with Lightness, Chroma (saturation), and Hue. Unlike HSL, equal steps in lightness appear visually equal across all hues.
OKLCH produces more predictable and accessible color palettes. When you lighten blue and yellow by the same amount in OKLCH, they appear equally lighter, which isn't true in HSL.
sRGB (the color space of monitors) can't display all OKLCH colors. Out-of-gamut colors are clamped to the nearest displayable color, which may not match exactly.
Yes! Modern browsers support oklch() in CSS. Example: color: oklch(0.7 0.15 250);
colors
A decision guide for choosing the color format that fits design handoff, implementation, and theme work.
colors
Why teams switching from HSL to OKLCH get cleaner scales, steadier contrast outcomes, and a better mental model.