OKLCH
A perceptually uniform colour space using lightness, chroma and hue, useful for building even palettes.
See it on the 3D treeGoing deeper
It is the cylindrical form of the Oklab colour space published by Björn Ottosson. L is perceived lightness, C is chroma and H is the hue angle. Equal lightness values look much more alike across hues than in HSL, though no model is perfect. Some combinations fall outside what a screen can show.
Why it matters
It makes colour scales and themes more predictable, with contrast easier to manage as hue changes.
In practice
You generate blue, green and red button scales using the same lightness steps, then verify text contrast on each.
Common mistake
Treating matched lightness values as a substitute for checking accessibility contrast ratios.
Connected terms
- ChromaChroma is the middle value, setting colourfulness.
- GradientInterpolating in OKLCH often gives more even-looking transitions.
- HSLHSL is simpler but its lightness is perceptually uneven.
- Design TokensOKLCH values can be stored as tokens or used to generate them.