Color Palette Generator
Build a palette from one colour in any standard scheme, with each swatch marked for whether text can sit on it.
Loading tool…
Palettes are generated by arithmetic in this page. Nothing is uploaded and nothing is saved.
What the Color Palette Generator does
The color palette generator on this page will build a palette from one colour in any standard scheme, with each swatch marked for whether text can sit on it. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for building a tint scale from a brand colour for a design system. More utilities in this area are collected on FreeToolsWorld.org.
How to use it
- Enter your base colour, or press Random for a starting point.
- Choose a scheme — tints and shades is the one most design systems need.
- Check the text verdict on each swatch before assigning roles.
- Export as CSS variables, SCSS, JSON, a Tailwind fragment or a plain list.
How it works
Most palette generators stop at producing five pleasant colours. The useful addition here is the contrast verdict on each swatch, because a palette whose mid-tones all fail against both black and white is attractive and unusable — and you normally discover that after building half an interface on it.
The tints-and-shades scheme is the one real design systems are built on, and it is why the swatches are numbered 50 to 900 rather than named. That numbering is a convention worth following: it means every colour in the system has a predictable place, and swapping the base hue regenerates a complete, consistent scale rather than requiring every shade to be re-picked by hand.
The harmony schemes — complementary, analogous, triadic and the rest — are all just rotations around the hue wheel, and they are a starting point rather than a rule. They produce colours that relate to each other predictably, which is the hard part; whether the result is attractive still depends on judgement, and the equal-lightness colours a strict rotation produces usually need adjusting before they work together on a page.
The export formats exist so the palette can go straight into a codebase rather than being retyped. CSS custom properties and the Tailwind fragment are the two that save the most time, since both are the form the colours will actually live in.
When to use it
- Building a tint scale from a brand colour for a design system.
- Finding colours that work alongside one you are committed to.
- Generating CSS variables for a new project.
- Checking a palette for accessibility before anyone builds with it.
Common mistakes to avoid
- Taking harmony output as finished. Equal-lightness rotations almost always need adjusting to work together.
- Assigning a mid-tone to a button without checking whether any text colour passes on it.
- Building a scale by mixing with white and black, which drifts the hue. Moving lightness in HSL does not.
Frequently asked questions
What do the 50 to 900 numbers mean?
They are the lightness steps convention used by most design systems — 50 is the lightest tint, 500 is around your base colour, 900 the darkest shade. It means every colour has a predictable slot, so swapping the base regenerates the whole scale consistently.
Which scheme should I use for a brand palette?
Tints and shades. It gives you one hue at ten usable lightnesses, which is what an interface actually needs. The harmony schemes are for finding an accent to pair with your primary, not for building the system.
Why do some swatches say "no text"?
Because neither black nor white text reaches a 3:1 contrast ratio on them. Those colours are fine for shapes, borders and decoration, and unusable as a background for words.