Color Palette Combinations Generator: Free Online Tool

Color Palette Combinations

Build matching five-color palettes from any base color using proven color harmonies.

Harmony

  

Harmonies with a Purpose: Building, Checking and Using a Palette

Good color palette combinations start with one base color and a clear relationship between the others. Use the generator above to build a five-color palette, choose a harmony that fits your project, and check that your colors stay readable.

Build a palette in four steps

  1. Set the base colorUse the color picker or type a HEX value. Three-digit codes such as #0AF are accepted.
  2. Choose a harmonySelect one of six harmonies. The five swatches update immediately.
  3. Review the swatchesClick any swatch to copy its HEX code. Use Random color to explore and Reset to start over.
  4. Export the paletteSwitch between HEX, CSS variables and JSON, then copy the code into your project.

Choose a harmony by purpose

Each harmony changes how much variety and contrast the five swatches carry. Hue offsets are measured around the color wheel from your base color.

HarmonySwatchesGood for
ComplementaryBase hue and the opposite hue (180 degrees), each with a lighter variant, plus a darker baseA strong accent against a dominant color
AnalogousHues at -30, -15, 0, +15 and +30 degreesCalm, cohesive designs
TriadicHues at 0, 120 and 240 degrees, plus a lighter and a darker variantLively, balanced designs
Split complementaryHues at 0, 150 and 210 degrees, plus a lighter and a darker variantContrast with less tension
TetradicHues at 0, 90, 180 and 270 degrees, plus a lighter baseRich designs with several distinct hues
MonochromaticOne hue in five lightness stepsMinimal interfaces and tints of one brand color
Lightness is kept between 8% and 94%, so swatches never turn fully black or white.

Lightness is kept between 8% and 94%, so swatches never turn fully black or white.

Check contrast before you commit

A palette can look balanced and still be hard to read. WCAG asks for at least 4.5:1 contrast for normal text, and 3:1 for large text and interface components such as borders and icons.

SampleText on backgroundContrastNormal text
Aa#0D1F24 on #A9D94B10.3:1Passes AA and AAA
Aa#0E5A68 on #A9D94B4.7:1Passes AA, not AAA
Aa#FFFFFF on #A9D94B1.7:1Fails
Aa#0E5A68 on #FFFFFF7.8:1Passes AA and AAA
Light, saturated colors need dark text. White text only works on darker swatches. Illustrative example with Clicktoolset brand colors, calculated using the WCAG contrast formula.

Light, saturated colors need dark text. White text only works on darker swatches.

The tool switches each swatch label between dark and light text so HEX codes stay legible, but it does not calculate contrast ratios. Test your text and background pairs with a checker such as the WebAIM contrast guide.

Use the five colors with a plan

  • Analogous palettes keep every swatch at the base color's lightness, so they rarely contain a readable text and background pair. Add a darker or lighter neutral.
  • Harmonies with lighter and darker variants, and the monochromatic option, give you a built-in range for backgrounds and text.
  • Give one color most of the space and save the boldest hue for buttons, links and highlights.
  • Preview the palette on both light and dark backgrounds before you finalize it.

A quick pre-flight check before you export

  • Read the hex values aloud. If two swatches share almost the same code, they will blur together on screen; nudge one lighter or darker.
  • Test the palette at small size. Shrink the preview: if the colours still read as distinct thumbnails, they will survive icons, charts and mobile screens.
  • Name each colour by its job. Background, surface, text, accent, highlight. A palette with assigned jobs exports cleanly into CSS variables and stays consistent across pages.

Frequently asked questions

How many colors are in each palette?
Five. Every harmony generates five swatches from your base color.
What is the difference between complementary and analogous palettes?
Complementary palettes pair the base hue with its opposite on the color wheel for strong contrast. Analogous palettes use neighboring hues, up to 30 degrees either side, for a softer and more cohesive look.
Which harmony works best for a website?
Try complementary or split complementary when you need a clear accent for buttons. Choose analogous or monochromatic for calm backgrounds. Then test text contrast on the final pairs.
Are the generated palettes accessible?
The tool creates color relationships, not accessibility results. Check each text and background pair against WCAG: 4.5:1 for normal text, and 3:1 for large text and interface components.
Can I use the exported CSS variables directly?
Yes. Copy the CSS variables output into your stylesheet and reference the colors with var(--color-1) through var(--color-5).