Color Palette Combinations Generator: Free Online Tool
Color Palette Combinations
Build matching five-color palettes from any base color using proven color harmonies.
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
- Set the base colorUse the color picker or type a HEX value. Three-digit codes such as #0AF are accepted.
- Choose a harmonySelect one of six harmonies. The five swatches update immediately.
- Review the swatchesClick any swatch to copy its HEX code. Use Random color to explore and Reset to start over.
- 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.
| Harmony | Swatches | Good for |
|---|---|---|
| Complementary | Base hue and the opposite hue (180 degrees), each with a lighter variant, plus a darker base | A strong accent against a dominant color |
| Analogous | Hues at -30, -15, 0, +15 and +30 degrees | Calm, cohesive designs |
| Triadic | Hues at 0, 120 and 240 degrees, plus a lighter and a darker variant | Lively, balanced designs |
| Split complementary | Hues at 0, 150 and 210 degrees, plus a lighter and a darker variant | Contrast with less tension |
| Tetradic | Hues at 0, 90, 180 and 270 degrees, plus a lighter base | Rich designs with several distinct hues |
| Monochromatic | One hue in five lightness steps | Minimal interfaces and tints of one brand color |
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.
| Sample | Text on background | Contrast | Normal text |
|---|---|---|---|
| Aa | #0D1F24 on #A9D94B | 10.3:1 | Passes AA and AAA |
| Aa | #0E5A68 on #A9D94B | 4.7:1 | Passes AA, not AAA |
| Aa | #FFFFFF on #A9D94B | 1.7:1 | Fails |
| Aa | #0E5A68 on #FFFFFF | 7.8:1 | Passes AA and AAA |
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?
What is the difference between complementary and analogous palettes?
Which harmony works best for a website?
Are the generated palettes accessible?
Can I use the exported CSS variables directly?
var(--color-1) through var(--color-5).