Skip to main content

Color Palette Generator – Harmony Palettes from One Color

Generate a five-color palette from any base color using monochromatic, analogous, complementary, triadic and more harmonies. Copy CSS, Tailwind, SCSS or JSON.

Color Palette Generator

Build a five-color palette from one base color.

Palette

Base color and harmony

Harmony

Neighbouring hues, calm and cohesive.

Export

All five colors, ready to paste.

CSS variables
:root {
  --palette-1: #007bb2;
  --palette-2: #0073d2;
  --palette-3: #2563eb;
  --palette-4: #5a56e9;
  --palette-5: #7a49df;
}

Text contrast

WCAG contrast of black and white text on each color. Check any pair you use together.

Contrast of the label color on each palette color
ColorBest textRatioWCAG
#007bb2White4.69:1AA
#0073d2White4.79:1AA
#2563eb(base)White5.17:1AA
#5a56e9White5.33:1AA
#7a49dfWhite5.46:1AA

What is Color Palette Generator?

Build a balanced five-color palette from one color you like. Choose a harmony such as monochromatic, analogous, complementary, split-complementary, triadic or tetradic, and the palette is worked out in OKLCH so the lightness and hue steps look even to the eye. Your base color always stays in the palette. Click any swatch to copy its hex code, check the text contrast of each color, or export all five as CSS variables, a Tailwind v4 theme, SCSS variables, JSON or a plain hex list. Press Random, or the R key, for a fresh starting color, and share the exact palette with a link.

  • color palette
  • color harmony
  • color scheme
  • oklch
  • palette

Features

What you get with Color Palette Generator.

  • Six Color Harmonies

    Monochromatic, analogous, complementary, split-complementary, triadic and tetradic.

  • Even, OKLCH-Based Steps

    Lightness and hue change evenly to the eye, so the colors feel balanced together.

  • Your Color Stays In

    The base color is always one of the five, exactly as you chose it.

  • Contrast at a Glance

    See the WCAG contrast of black or white text on every color.

  • Shareable Links

    The base color, harmony and export format live in the URL, so you can bookmark or share a palette.

  • CSS, Tailwind, SCSS & JSON

    Copy one hex code, or export the whole palette.

How to use Color Palette Generator

Follow these steps to get the best results.

  1. Pick a base color

    Choose the color you want to build around, or press Random (or the R key) to explore.

  2. Choose a harmony

    Try analogous for a calm look, complementary for contrast, or triadic for variety.

  3. Copy the palette

    Click a swatch to copy its hex, or export all five as CSS, Tailwind, SCSS or JSON.

    Output
    :root { --palette-1: #007bb2; --palette-2: #0073d2; --palette-3: #2563eb; --palette-4: #5a56e9; --palette-5: #7a49df; }
  4. Share it

    Use Share link to copy a URL that reopens this exact palette.

    Output
    /tools/color-palette-generator?base=e11d48&harmony=triadic

Advertisement

In-feed adResponsive

Frequently asked questions

Common questions about Color Palette Generator.

A color harmony is a rule for picking colors that go well together, based on their position on the color wheel. Analogous colors sit next to each other, complementary colors sit opposite, and triadic colors are spaced a third of the way around.

Comments

Share feedback, ask questions, or help others use this tool.

Join the discussion

Sign in to comment, reply, and report inappropriate content.

Advertisement

Mobile banner adResponsive