Color wheel and palette generator

Pick a color on the wheel and get its harmonies: complementary, split-complementary, analogous, triadic, tetradic, square and monochromatic.

loading Color wheel and palette generator
About this tool

What is a color wheel and palette generator?

A color wheel arranges hues in a circle so you can see which colors work together. Pick one base color and the tool finds the others by turning a fixed angle around the wheel. That is how designers build palettes that look balanced instead of random: a complementary pair for strong contrast, an analogous trio for calm pages, a triad for lively but even schemes.

This tool offers seven harmonies: complementary (the opposite color, 180 degrees away), split-complementary (150 and 210 degrees), analogous (neighbours at plus and minus 30 degrees, adjustable from 5 to 60), triadic (120 and 240), tetradic (60, 180 and 240), square (90, 180 and 270) and monochromatic (the same hue in six lightness steps). The wheel is the HSL wheel that CSS uses, not the red-yellow-blue wheel from painting classes, so the results match hsl() values you can type in a stylesheet.

Every swatch shows its hex code, the better text color on top of it (black or white) and the WCAG 2.x contrast ratio, labelled AA, AAA or "fails". The palette can be exported as CSS variables, Tailwind config, SCSS, JSON or a plain hex list. It runs in your browser and nothing is uploaded.

How to build a palette

  1. Set the "Base color". Type or paste any color CSS understands (hex, rgb(), hsl(), a name), or click or drag on the wheel. With the wheel focused, left and right change the hue, up and down the saturation, and Shift moves by 10.
  2. Fine-tune with the "Hue", "Saturation" and "Lightness" sliders. The wheel only sets hue and saturation, so lightness is always a slider.
  3. Choose a "Harmony". The dots on the wheel and the swatches in the "Palette" list update at once. For "Analogous", an "Angle between neighbors" slider appears.
  4. Read each swatch: the hex code, the text color that reads best on it and its ratio. Use the circular copy button to copy a single hex code.
  5. Pick the "Export as" format: "CSS variables", "Tailwind", "SCSS", "JSON" or "Hex list".
  6. Change the "Name prefix" if you do not want color. Anything that is not a letter, digit, underscore or hyphen becomes a hyphen.
  7. Copy the "Palette" box into your project, or continue to the color converter or the gradient generator with the colors already filled in.

Examples

A complementary pair from a blue

Base hsl(210, 80%, 50%) is #1a80e6. The complementary color sits at 30 degrees and is #e6801a, an orange. The tool reports black text on the blue at 5.27:1 (AA) and black on the orange at 7.46:1 (AAA). White on the blue would only reach 3.98:1, so the tool picks black.

Triadic palette as CSS variables

With the base #1a80e6 and "Triadic" the hues are 210, 330 and 90 degrees. With "CSS variables" and the default prefix the output is:

:root {
  --color-base: #1a80e6;
  --color-c2: #e61a80;
  --color-c3: #80e61a;
}

The same palette as "Tailwind" goes under theme.extend.colors.color, with the keys base, c2 and c3.

A monochromatic scale

"Monochromatic" keeps the hue 210 and saturation 80 and walks lightness through 15, 30, 45, 60, 75 and 90 percent. The names are 100 to 600:

{
  "100": "#082645",
  "200": "#0f4d8a",
  "300": "#1773cf",
  "400": "#4799eb",
  "500": "#8cbff2",
  "600": "#d1e6fa"
}

The first step has 15.28:1 against white text, the last one 16.41:1 against black.

Starting from a brand color

Paste #e63946. It becomes hue 355, saturation 78 and lightness 56. "Split-complementary" returns #e63746, #37e680 and #379de6. Notice that the base shows #e63746: colors are rounded to whole HSL numbers, so a pasted hex can change by a step.

Common mistakes

  • Expecting the painter's wheel. On the HSL wheel the complement of blue is orange, but the complement of red is cyan, not green. This is how screens mix light.
  • Using all colors at full weight. A palette is a starting point. Keep one color for actions, another for support and let the rest be accents.
  • Trusting the ratio of a hue only. The ratio is for the swatch against white or black text. Check the actual text and background pair in your design.
  • Ignoring "fails". Below 4.5:1 normal text does not meet AA. Change lightness or use the swatch only for large shapes.
  • Expecting an exact hex back. The tool works with whole-number HSL, so a pasted color may shift by one unit.
  • Choosing analogous for contrast. Neighbouring hues look similar by design. Use complementary or split-complementary when elements must stand out.

Frequently asked questions

What is the difference between complementary and split-complementary?

Complementary pairs the base with the color directly opposite. Split-complementary uses the two colors beside that opposite, which keeps the contrast but feels less harsh.

What do AA and AAA mean?

They are WCAG 2.x contrast levels for normal text. AA needs at least 4.5:1 and AAA needs at least 7:1. Large text has lower limits, but the tool shows the stricter ones.

Can I get the colors in another format?

Yes. Paste the hex into the color converter to get RGB, HSL or other formats.

Can I make a gradient from the palette?

Use "continue with" to send the colors to the CSS gradient generator, which receives a ready linear gradient.

Does the tool save my colors?

It remembers only the harmony, format and prefix in your browser. Nothing is sent to a server.

Report a problem