Home›Tools›Color Palette Generator

Color Palette Generator

Pick a base color and get a harmonious palette built on color-theory rules, complementary, analogous, triadic, tetradic, monochromatic, or tints and shades. Each swatch shows its contrast against white and black so you can check accessibility on the spot.

Pick a swatch or type a 3 or 6 digit HEX value.

The rule decides how hues or lightness steps are chosen from your base color.

How to use this tool

  1. Choose a base color with the picker or by typing a HEX value.
  2. Select a harmony rule to see the matching palette.
  3. Read each swatch's HEX value and its contrast ratio against white and black.
  4. Click a HEX value to copy it, or use Copy all HEX to copy the whole palette as a comma-separated list.
  5. Use Random base color when you want to explore new directions.

How color harmony rules work

Each rule selects hues or lightness values at fixed intervals from your base color. Saturation and lightness stay at the base value for the hue-based rules, so only the hue changes.

Rule Construction Swatches
Complementary Base hue plus the opposite hue, 180° apart 2
Analogous Five neighboring hues from −60° to +60° 5
Triadic Three hues spaced 120° apart 3
Tetradic (square) Four hues spaced 90° apart 4
Monochromatic One hue at five lightness steps around the base 5
Tints & shades Base mixed with black and white at 25%, 50%, and 75% 7

Reading the contrast ratios

Contrast is calculated with the WCAG relative-luminance formula and shown from 1:1 to 21:1. The badge next to each ratio uses the WCAG 2.2 thresholds for normal text:

Ratio Badge Meaning
7:1 or higher AAA Enhanced contrast for normal text
4.5:1 or higher AA Minimum contrast for normal text
3:1 or higher AA Large Large text and user-interface components
Below 3:1 Fail Not sufficient for text; decorative use only

The ratios only describe white or black over the swatch. They are a starting point, not a certification of the finished interface: always test real text sizes, weights, and neighboring colors together.

Frequently asked questions

A complementary palette pairs a color with the hue directly opposite it on the color wheel, 180 degrees away, which creates strong contrast. An analogous palette uses hues next to each other, within about 60 degrees in either direction, which creates a calm and cohesive look.

A triadic palette takes three hues spaced 120 degrees apart, forming an equilateral triangle on the color wheel. A tetradic, or square, palette takes four hues spaced 90 degrees apart. Both keep the saturation and lightness of your base color.

Each ratio compares the swatch with pure white or pure black using the WCAG relative-luminance formula. The labels follow WCAG 2.2 for normal text: 7:1 or more is AAA, 4.5:1 or more is AA, 3:1 or more passes only for large text and interface components, and anything below 3:1 is marked Fail.

No. The ratios only describe white or black placed on the swatch. Text and interface elements often sit next to other colors, and real accessibility also depends on font size, weight, spacing, and the surrounding design. Use the ratios as a quick check, then test the complete interface.

Gray has no hue, so rules that rotate the hue produce the same color. Choose a base color with some saturation, or use the tints and shades rule, which varies lightness and works for any base color.

No. Palette generation and contrast calculations run locally in your browser. The base color and generated values are not transmitted to a server or stored by BrightKit.

More in Generators & Design Colors, gradients, passwords, and QR codes.