How to use
- Press Generate or the space bar until you see colours you like.
- Click 🔒 on a colour to keep it, or type a HEX code or use 🎨 to set your own; the next palette is built around the locked colours.
- Check the contrast table, then copy the palette in the format you need or download it as a PNG.
Options explained
- Colour harmony
- Analogous uses neighbouring hues, monochrome one hue in different lightness, complementary opposite hues, triadic three evenly spaced hues, split complementary a hue plus the two next to its opposite. “Any” picks one at random each time.
- Locked colours
- Stay exactly as they are. The first locked colour that is not grey also sets the base hue for the others.
- Contrast table
- Each cell is text in one palette colour on another. AA (4.5:1) is the WCAG 2 minimum for body text, AAA is 7:1, and 3:1 is enough only for large or bold text.
- Share link
- The colours are saved in the page address (#22333b-3d6b72-…), so you can bookmark a palette or send it to someone.
Picking a harmony
| Harmony | Looks | Good for |
|---|---|---|
| Monochrome | One hue from dark to light | Calm interfaces, brand shades, charts with one series |
| Analogous | Neighbouring hues, e.g. teal to blue | Natural, soft palettes for photos and illustrations |
| Complementary | Two opposite hues | One accent colour that stands out from the rest |
| Triadic | Three hues 120° apart | Playful, colourful designs |
| Split complementary | A hue and the two beside its opposite | Contrast with less clash than complementary |
Making a palette that works on a website
- Use the lightest colour as the page background and the darkest for text — the preview shows exactly this pairing.
- Pick the boldest colour for buttons and links. Check its contrast against the background; links need 4.5:1 to pass AA.
- Keep the middle colours for borders, panels, tags and illustrations, where contrast matters less.
Frequently asked questions
How are the colours chosen?
In the OKLCH colour space, which matches how bright colours look to the eye. Hues follow the chosen harmony, lightness runs from dark to light across the palette, and saturation is kept inside what a normal sRGB screen can show.
How do I make a palette from one brand colour?
Type your colour into any slot, lock it, choose Monochrome or Analogous and press Generate. The other colours are built around its hue.
Which colour should I use for text?
Each swatch shows whether black or white text reads better on it and the contrast ratio. For text in palette colours, use the table — only pairs marked AA or AAA are safe for body text.
How do I use the Tailwind export?
It is a Tailwind CSS v4 @theme block. Paste it into your main CSS file and you get classes such as bg-palette-1 and text-palette-3.
Privacy
This tool runs entirely in your browser. Your files and text are processed on your device and are never uploaded to our servers.