Color Palette Generator

Pick a base colour and a scheme to get a matching set of HEX values.

Schemes

Choose Monochromatic, Analogous, Complementary, Triadic or Shades (light to dark). Each produces a set of colours related to your base colour, with HEX values to copy.

Using a palette

Start with one brand colour, build a palette, then check text contrast before using it for backgrounds and body copy.

How to use it

  1. Choose the Base color.
  2. Choose a Scheme.
  3. Copy the HEX values you need.

Common use cases

Exactly how each scheme is built

The generator converts your base colour from HEX to HSL (hue, saturation, lightness, each rounded to a whole number) and then moves one of those values. That makes the results predictable. For the default base #3b82f6 the HSL is 217, 91%, 60%, and each scheme produces:

Verified output for #3b82f6:

Monochromatic  #052861 #0846aa #0b64f4 #5593f7 #9ec1fa
Analogous       #3cf6af #3ce0f6 #3c83f6 #523cf6 #af3cf6
Complementary   #3c83f6 #f6af3c #9ec1fa #fad79e
Triadic         #3c83f6 #f63c83 #83f63c
Shades          #021431 #073c92 #0b64f4 #6da2f8 #cee0fd

Gotchas worth knowing

The colour that comes back at the 'base' position is not always your exact input. Because hue, saturation and lightness are rounded to whole numbers, #3b82f6 returns as #3c83f6, a difference you cannot see but that will not match a design token character for character. If you need your brand colour verbatim, copy it from your own source and use the generated values only for the companions.

Another surprise: the monochromatic and shade scales run around fixed lightness steps, so the middle swatch has lightness 50, which for a pale base is darker than the colour you entered. Pick the swatch whose lightness is closest to your original.

Colours at the same HSL lightness are not equally bright to the eye. Yellow at 50 percent looks far lighter than blue at 50 percent, so a triadic set is not automatically balanced.

Checking contrast before you use a palette

The tool shows HEX only and does not calculate accessibility ratios. Use the Color Converter for that, or check by hand. With white text, the base #3b82f6 has a contrast ratio of about 3.68:1, which fails the 4.5:1 minimum WCAG sets for normal text. The darker monochrome step #0b64f4 reaches about 5.07:1 and #0846aa about 8.5:1. Black text on the light #9ec1fa reaches about 11.5:1 while white on it manages only 1.83:1.

A practical workflow is to take the five-step scale, use the darkest two for text and the lightest two for backgrounds, and keep the middle for buttons and accents with a verified text colour.

Frequently asked questions

What is a triadic scheme?

Three colours evenly spaced around the colour wheel.

What is a complementary colour?

The colour opposite on the wheel.

Can I convert to RGB or HSL?

Use the Color Converter for other formats.

Is my data uploaded?

No. This tool runs entirely in your browser, so what you type or paste is not sent to our servers.

Why is the middle colour not exactly my base colour?

The base is converted to HSL and rounded to whole numbers, so a round trip can shift a channel by one or two units. #3b82f6 comes back as #3c83f6.

Does it generate colour names or tints with alpha?

No. It outputs opaque HEX values only. For alpha or other formats, convert a swatch with the Color Converter.

Related tools

Explore all developer tools →