Skip to content
ToolkitHub

Palette Generator

Generate color palettes

Guide

Building color palettes with harmony rules

By Logappradeep · ServiceNow developer

Choosing colors that work together is easier when you start from a rule rather than guesswork. Color harmony rules come from traditional color theory: they describe how hues placed at specific positions on the color wheel relate to each other. Given one base color, a palette generator rotates around the wheel to find its companions. You still make the final call, but you begin with colors that have a reason to belong together.

The five schemes

  • Monochromatic keeps one hue and varies its lightness and saturation, producing six shades. It is the safest choice for interfaces because nothing clashes, and it is a quick way to build a tint scale for a brand color.
  • Analogous uses neighboring hues, like blue, blue-violet and violet. The result feels calm and cohesive, which suits backgrounds, illustrations and data with a natural order.
  • Triadic picks three hues spaced 120° apart. Starting from orange #ff6600, the triad is #00ff66 and #6600ff. Triads are lively; let one color dominate and use the others as accents.
  • Tetradic returns four hues spaced 90° apart, forming a square on the wheel. It offers the most variety and is the hardest to balance.
  • Split complement pairs the base with two hues from the opposite side of the wheel. It gives strong contrast with less tension than a direct complementary pair.

Applying a palette

A common approach is the 60-30-10 guideline: roughly 60% of the surface in a neutral or dominant color, 30% in a secondary color, and 10% in an accent reserved for calls to action and highlights. In a design system, map palette colors to roles such as primary, secondary, accent, success and danger rather than using raw HEX values throughout your code. That way you can adjust a color once and update the whole product.

Pitfalls

Harmony is not the same as accessibility. Two colors can look pleasing together and still fail the WCAG contrast requirements of 4.5:1 for normal text and 3:1 for large text. Always test the text and background pairs you actually plan to use. Hue-based rules also ignore perceived brightness: in a triad, yellow-green will look much lighter than violet at the same HSL lightness, so you may need to darken or lighten individual colors to balance them.

Color vision deficiency, most often affecting the distinction between red and green, is common. Never rely on color alone to convey meaning such as errors or status; pair it with text, icons or patterns. Finally, palettes generated from fully saturated base colors can look harsh on large surfaces. Muted base colors, or using the vivid ones only as accents, usually work better.

The Random button picks a new base color when you want inspiration. Palettes are calculated in your browser, and your base color and scheme are remembered locally.

Frequently asked questions

Which color scheme is best for a website?

Monochromatic and analogous palettes are the easiest to use in interfaces. Triadic and split-complementary schemes work well when one color dominates and the others are small accents.

Do harmonious palettes meet accessibility standards?

Not automatically. Check every text and background pair against WCAG contrast ratios of 4.5:1 for normal text and 3:1 for large text.

Why do some triadic colors look much brighter than others?

Harmony rules rotate the hue but keep the same HSL lightness, and the eye sees hues like yellow and green as brighter than blue or violet. Adjust lightness to balance them.

How do I copy a color?

Click any swatch and its HEX code is copied to your clipboard.