Free Tool Directory / Other Tools / Color Palette Generator

Color Palette Generator

Press spacebar to generate a random 5-color palette, lock colors you like, click a hex to copy it, check WCAG contrast, and preview a gradient.

Press the spacebar to generate a random five-colour palette, lock colours you like, click a hex code to copy it, and check WCAG contrast between any two colours. The gradient bar shows your palette blended left to right, and you can copy all hex codes or the CSS variables. Use it when starting a new website or slide deck to pick a set of colours that read clearly together.

Open tool →

Free to use, no sign-up. The tool opens on its own page and runs in your browser.

Need more? Go Pro

Pro: download your Color Palette results & save history, $5 one-time

Get Pro →

Alipay — $5

Or unlock every tool with All-Access Pro — $15 once.

Get All-Access — $15 once

Alipay — $15

Prices are adjusted by country so the same tool costs less where incomes are lower — you see the price for your country.

Prefer Alipay? See all payment options.

Already paid? Log in to Pro

How to use it

  1. Press the spacebar or Generate for a new 5-color palette.
  2. Click the lock on a color to keep it while the rest change; click a hex code to copy it.
  3. In the contrast checker, pick any two palette colors to see their WCAG contrast ratio and AA/AAA results.
  4. The gradient bar shows your palette blended left to right; copy all hex codes or the CSS variables.

Common questions

What does the contrast ratio mean?

It measures how easy text in one color is to read on another, from 1:1 (identical) to 21:1 (black on white). WCAG asks for at least 4.5:1 for normal text (AA) and 7:1 for AAA; large text needs 3:1 (AA) and 4.5:1 (AAA).

How are the palettes made?

Each palette starts from a random base hue and spreads five harmonious colors around it, varying lightness and saturation. Locked colors stay put while the rest regenerate.

Can I use these colors in my designs?

Yes — hex codes are free facts. Copy them into your CSS, slides or brand files.

Why do some pairs fail AA?

Light colors on light backgrounds (or dark on dark) do not differ enough for small text. Try a darker text color on a light background, or use the failing pair only for large headings and decorative elements.

More Other Tools tools

← Back to all tools · Browse guides