Color Palette Generator

Build harmonious palettes from one base color — complementary, analogous, triadic, square — plus tints and shades. Copy any format.

Build a harmonious palette from one base color — complementary, analogous, triadic, or square harmonies rotate the hue in exact color-wheel steps, and the generator adds a graduated tint-and-shade scale so the palette is usable, not just pretty.

How to use Color Palette Generator

  1. Pick the base color.
  2. Choose a harmony — the swatches appear instantly.
  3. Click any swatch to copy its hex, or copy the whole list.

Who it is for

Designers starting a new project palette, developers building theme variants from one brand color, hobbyists picking colors that agree, and teachers explaining color relationships.

How it works

  • Harmony angles are exact: complementary adds 180 degrees, analogous ±30, triadic ±120, square ±90 — saturation and lightness stay constant so the family reads as one brand.
  • Tints and shades step lightness by 12% and stop before saturating, so the scale never shows two identical whites or blacks.
  • Every swatch copies its hex on click, and one button copies the whole palette.

What it cannot do

  • Harmony math guarantees hue agreement, not taste — always eyeball the result in context.
  • Contrast is not checked here; run promising pairs through the contrast checker before committing text colors.

Sample input & output

You give

Base color: #2563EB (HSL 221°, 83%, 53%) | Harmony: Triadic (±120°)

Color Palette Generator returns

Harmony swatches: #2563EB (221°), #EB2563 (341°), #63EB25 (101°), paired with 12%-stepped tint and shade scales ready to copy as hex.

Frequently asked questions

What is the difference between complementary and square?

Complementary is two colors opposite each other (maximum tension); square spreads four evenly around the wheel (balanced variety). Analogous stays calm, triadic is playful.

Why did my light tints stop before pure white?

Tints stop just below 100% lightness so the scale never repeats the same near-white twice — every swatch stays a distinct, usable color.

Can I use these colors for text?

Test them first: harmonies agree in hue, not in contrast. The contrast checker validates any pair before it ships.

How does color-wheel geometry calculate analogous, triadic, complementary, and square harmonies?

In cylindrical HSL color space, hue wraps around a 360-degree circle (0° red, 120° green, 240° blue). Complementary adds 180° mod 360 for maximum hue contrast; analogous steps ±30° for calm neighbor hues; triadic spaces three hues evenly at +120° and +240°; and square spaces four hues at 90° intervals (+90°, +180°, +270°) while preserving your base saturation and lightness.

How does the 60-30-10 UI design rule apply a generated palette without overwhelming a page?

Giving three or four saturated harmony colors equal screen area makes interfaces look chaotic and hides call-to-action buttons. Professional UI layouts assign roughly 60% of visual area to neutral surfaces or ultra-light tints, 30% to your primary brand hue (headers, cards, active navigation), and reserve the remaining 10% for the high-contrast complementary or triadic accent on primary CTAs.

Why do two colors with identical HSL lightness (such as 53% blue and 53% green) look unequally bright?

Cylindrical HSL defines lightness purely as (max(R,G,B) + min(R,G,B)) / 2, ignoring physiological luminous efficiency (0.2126 R + 0.7152 G + 0.0722 B). When a +120° triadic rotation lands on green (#63EB25), green's 71.5% luminance weight makes it appear noticeably brighter than #2563EB blue — pick one shade step darker from the green ramp when matching button visual weight.

How should I verify generated palettes for red-green color-vision deficiency (deuteranopia/protanopia)?

Roughly 8% of men and 0.5% of women experience red-green color-vision deficiency. A complementary or triadic pair placing medium red beside medium green at identical 50% lightness collapses into two nearly indistinguishable muddy olive swatches for deuteranopic viewers. Separate status or chart series by lightness (pairing dark blue or dark red with pale amber) and never rely on hue alone to convey error states.