What the Color Palette Generator does
The Color Palette Generator builds five-colour palettes from one base colour using colour-wheel rules: analogous, complementary, split complementary, triadic, tetradic and monochrome. Random makes balanced palettes from scratch. Lock any colour you like and generate again to change only the others. The maths runs in OKLCH, a colour space where equal steps look equal, so the colours in a palette have similar visual weight.
How to use it
- Enter a base colour or pick one with the colour picker.
- Choose a harmony, or Random.
- Lock the colours you want to keep and press Generate again.
- Copy each colour, or export the palette as CSS variables, SCSS, JSON, a list or a PNG.
Example
With the base #0EA5E9, Analogous gives #00B399, #00ADBF, #0EA5E9, #7194F5 and #A584E9: neighbours on the colour wheel from green-teal to violet. Complementary gives #A3DBFF, #0EA5E9, #006C9C, #F2AE7C and #DC7F2B: light, base and dark blues with two oranges opposite them. Monochrome gives five lightnesses of the same blue, from #F2FAFF to #00496B.
Which harmony to use
Analogous palettes feel calm and natural and suit backgrounds and illustrations. Complementary and split palettes have strong contrast, good for a call to action that must stand out. Triadic and tetradic palettes are lively; use one colour as the main one and the others as small accents. Monochrome palettes are the safest for interfaces, since one hue in several lightnesses never clashes.
A common rule for using a palette is 60-30-10: about 60% of the space in a neutral or main colour, 30% in a second colour and 10% in an accent.
Questions people ask
Is anything uploaded?
No. Everything is worked out in your browser, so your colours, designs and images stay on your device.
What does Set as base do?
It makes that colour the new base, so the next palette is built around it.
Are the colours accessible?
A palette does not guarantee readable text. Check any text and background pair with the Contrast Checker.
Why OKLCH instead of HSL?
In HSL, yellow at 50% lightness looks far brighter than blue at 50%. OKLCH lightness matches what people see, so the palette is balanced.