Scale generator

Eleven evenly spaced steps in OKLCH lightness — so 400 to 500 looks the same size as 800 to 900.

50
f2f4ff
100
d4dbff
200
b6c0ff
300
99a5ff
400
7e89ff
500
676bf9
600
5452e1
700
433ac6
800
3320aa
900
25008c
950
160060

Outlined step is nearest your source colour

--brand-500

Chroma

A colour scale generator with evenly spaced steps

Give it one colour and it builds the 50 to 950 ramp a design system expects — eleven steps, evenly spaced in OKLCH lightness, so the step from 400 to 500 looks the same size as the step from 800 to 900. Scales built by nudging HSL lightness bunch in the midtones and flatten at the ends; this one does not, because the space it is built in is even.

Chroma is tapered towards both ends and capped at the gamut at every step, so the lightest and darkest stops stay distinct instead of collapsing onto the same clipped colour. A perceptual mode keeps chroma faithful to the source; a vivid mode pushes each step towards the most saturated colour available at that lightness.

How to use it

  1. Enter the source colour and a name for the variables.
  2. Choose perceptual or vivid chroma.
  3. Copy the scale as CSS custom properties, a Tailwind v4 theme block, or a hex map.

Questions

Does this generate Tailwind colour scales?
Yes. The Tailwind export is a v4 @theme block with --color-name-50 through --color-name-950 in oklch(). The CSS export is the same scale as plain custom properties.
Why is the source colour not one of the steps exactly?
The steps sit at fixed, evenly spaced lightnesses. The step nearest your colour is marked; substituting the colour itself would put a stop at the wrong lightness and visibly kink the ramp.

More free colour tools

All of Color Lab runs in your browser. Nothing is uploaded and no account is needed.