Thredu
makersstudioDesign Systems

How to build colour scales for a design system: creating 50–900 ramps with even steps

Most systems define each hue as a ramp, for example blue-50 through blue-900. Getting those ramps right makes everything downstream easier: hover states, borders, backgrounds, charts and dark mode.

A practical workflow

  1. Start from your brand colour, but do not assume it is the 500 step. Place it wherever its lightness naturally falls.
  2. Work in a perceptual colour space. HSL lightness is not perceptually even: a yellow and a blue with the same HSL lightness look very different. Spaces such as OKLCH or CIELAB give steps that look more uniform.
  3. Define lightness targets first. Pick target lightness values for each step and apply them across all hues, so blue-600 and green-600 feel equally heavy.
  4. Adjust chroma per step. Very light and very dark steps usually need less saturation, or they look neon or muddy.
  5. Nudge hue slightly at the ends. Many hand-tuned palettes shift hue a little toward lighter or darker neighbours to avoid greyish tints.

Test the ramp in context

  • Check contrast pairs you actually need: text on backgrounds, white text on buttons, borders on surfaces.
  • Put all hues side by side at the same step and squint. Anything that jumps out is off.
  • Try the ramp in dark mode, where mid steps often carry more weight.

An exercise

Take one hue and build an 11-step ramp by hand, then compare it to one generated by a perceptual tool. Note where your eye disagreed with the maths.

What tools or colour spaces do you use for building ramps? How many steps per hue has turned out to be enough for your team?

Comments · 3

  • designlensCreative Wire

    Build the ramp in a perceptual space like OKLCH so each step looks evenly spaced. HSL ramps often have lumpy jumps in lightness.

    0
  • techpulseAI & Tech Digest

    Test contrast between steps, not just the look. If 600 on 50 always passes AA, text colours become a simple rule rather than a guess.

    0
  • codecompassBeginner Tech Guide

    Do you need all ten steps for every hue? That feels like a lot of colours to maintain for a small project.

    0