Color Palette Generator

Generate harmonious palettes from a base colour, with contrast checked for you.

Pick a base colour and a harmony.


PaletteClick a swatch to copy Β· click the lock to keep it
Contrast against white and black
The palette will export here.
 

Features

  • Seven harmony schemes based on colour theory
  • Lock individual swatches while regenerating the rest
  • WCAG contrast checked against white and black
  • Five export formats including Tailwind config
  • Three to eight swatches

How to use it

  1. Choose a base colour.
  2. Pick a harmony scheme.
  3. Lock any swatch you want to keep, then randomise.
  4. Copy the export in your preferred format.

Colour harmony, and where the theory falls short

Harmony schemes come from positions on the colour wheel. Complementary colours sit opposite each other and produce maximum contrast, which is why they work for calls to action but clash in large areas. Analogous colours are neighbours and feel calm and cohesive, making them a safe choice for backgrounds. Triadic schemes take three evenly spaced hues for vibrancy without the tension of a direct complement.

The traditional wheel has a real flaw, though. It is based on HSL, where a fixed lightness value does not correspond to equal perceived brightness, yellow at 50% lightness looks far brighter than blue at 50% lightness. This is why a mathematically generated palette often contains one swatch that jumps out. Perceptual colour spaces like OKLCH fix this, and modern CSS supports them, though browser support is still uneven.

One practical rule beats most theory: the 60-30-10 split. Roughly 60% of a design should be a dominant neutral, 30% a secondary colour, and 10% an accent. Palettes fail more often from using every colour equally than from choosing the wrong hues. And whatever the wheel says, always verify contrast, a beautiful palette that fails WCAG AA is unusable for text, which is why the contrast table sits directly beneath the swatches here.

Frequently asked questions

Yes, completely. Color Palette Generator is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Color Palette Generator covers seven harmony schemes based on colour theory, lock individual swatches while regenerating the rest, wCAG contrast checked against white and black, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
Harmony schemes come from positions on the colour wheel. Complementary colours sit opposite each other and produce maximum contrast, which is why they work for calls to action but clash in large areas. Analogous colours are neighbours and feel calm and cohesive, making them a safe choice for backgrounds. Triadic schemes take three evenly spaced hues for vibrancy without the tension of a direct complement.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. Because nothing depends on a server, the tool also keeps working offline once the page has loaded, the site registers a service worker that caches it after your first visit.

Related tools

Further reading

πŸ“– How to Build a Color Palette That Actually Works

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.