Building a palette
Enter the base colour
Type or pick it. Random base gives you a fresh starting point if you are exploring.
Choose a harmony
Analogous, Complementary, Split complementary, Triadic, Tetradic or Monochrome. The swatches update; click one to copy it, or copy the whole palette.
Use the scale
Below the harmony is a scale from 50 (palest) to 900 (darkest) built from the same colour.
Copy the CSS
The scale comes as CSS custom properties,
--brand-50to--brand-900, which you can copy or download aspalette.css.
Example: a palette for a plumbing firm's website
A plumber's logo uses #1E6FA8. The web designer chooses Split complementary and gets #1E6FA9, #A91E29 and #A99D1E: the blue, a deep red for urgent call-out buttons and an ochre for highlights.
The 50 to 900 scale gives light blues for section backgrounds (#F2F8FD at 50, #E1EFFA at 100) through to #0D304A at 900 for body text, all from the single logo colour.
Base #1E6FA8, Split complementary
Palette #1E6FA9, #A91E29, #A99D1E --brand-50: #F2F8FD; ... --brand-500: #2F93DA; ... --brand-900: #0D304A;
Which harmony to choose
| Harmony | How it is built | Feels |
|---|---|---|
| Analogous | Neighbouring hues | Calm and cohesive |
| Complementary | The opposite hue | Bold, high contrast |
| Split complementary | The two hues either side of the opposite | Lively but balanced |
| Triadic | Three hues evenly spaced | Playful, colourful |
| Tetradic | Four hues in two opposite pairs | Rich; needs a dominant colour |
| Monochrome | One hue at different lightness | Clean and corporate |
Keep text readable
A harmony palette is about mood, not legibility. Before you put text on any of these colours, check the pair with the colour contrast checker. In a scale, the darker end (700 to 900) usually works for text on the lightest steps, and white text usually needs a step of 600 or darker.
Questions people ask
How do I create a colour palette from one colour?
Enter the colour, choose a harmony such as analogous or complementary, and copy the swatches. For a working website palette, also take the 50 to 900 scale: light steps for backgrounds, middle steps for buttons and dark steps for text, all related to your original colour.
What is a 50 to 900 colour scale?
It is a set of ten lightness steps of one colour, numbered from 50 (almost white) to 900 (very dark), a naming style many design systems use. Having the steps as CSS variables lets you use consistent shades across a whole site.
Why is the base colour slightly different in the palette?
The harmonies are calculated by rotating the hue in the HSL colour model and converting back to HEX, which can move a value by one step through rounding, as with #1E6FA8 becoming #1E6FA9. The difference is invisible; use your original code for the brand colour itself.
Where your data goes
Palettes are generated in your browser. The colours you enter are not uploaded or saved.
Checked against the tool on