About the Colour Scale Generator (50–950)
Design systems need each colour in many shades: light backgrounds, hover states, borders and dark text. This generator builds an 11-step scale from 50 to 950 around your base colour using OKLCH — a modern colour space where equal steps look equally different to the eye, unlike HSL.
Your colour keeps its exact hex at the step that matches its lightness, chroma eases off at the very light and dark ends so tints stay clean, and a table shows which steps pass WCAG contrast with white or black text. Export CSS variables, a Tailwind config or JSON design tokens.
How to use the Colour Scale Generator (50–950)
- Pick your base colour and name it.
- Check the scale and the contrast table.
- Copy CSS, Tailwind or JSON.
Features
- OKLCH perceptual scale
- Keeps your exact base colour
- WCAG contrast table
- CSS, Tailwind v3/v4, JSON
- SVG swatch export
Supported formats
- CSS
- JSON
- SVG
Frequently asked questions
Why OKLCH instead of HSL?
In HSL, yellow at 50% lightness looks far brighter than blue at 50%. OKLCH lightness matches perception, so scales look even across hues.
Is my text sent anywhere?
No. Everything runs in your browser, so nothing you paste is uploaded or stored.
Added · Last reviewed · Maintained by Sohail Khax · How we test tools