Palette Generator

What Is a Color Palette Generator?

A color palette generator creates harmonious color combinations based on color theory. Starting from a single base color, it applies mathematical relationships on the color wheel — complementary, analogous, triadic, split-complementary, and tetradic — to produce palettes that look cohesive and professional.

Choosing the right color palette is one of the most impactful design decisions you can make. It affects brand perception, readability, emotional response, and accessibility. This tool takes the guesswork out of color selection and gives you production-ready HEX, RGB, and HSL values.

Color Harmony Rules

Complementary — two colors opposite on the color wheel. High contrast, high energy. Great for CTAs. Analogous — neighbouring hues, 30° apart on either side of the base. Harmonious and calming. Great for backgrounds and gradients. Triadic — three colors equally spaced (120° apart). Balanced and vibrant. Great for illustrations and infographics.

How to Use This Palette Generator

  1. Enter a base color — Paste a hex code or pick a starting color to build your palette around.
  2. Choose a color harmony — Select complementary, analogous, triadic, split-complementary, tetradic, or monochromatic — each creates a different color relationship.
  3. Adjust and refine — Edit any swatch with its colour picker or hex field, and lock colours you want to keep while regenerating the others.
  4. Export the palette — Copy as CSS custom properties, Tailwind config, SCSS variables, or a simple list of hex codes.

Worked example: five-colour harmonies from #3B82F6, before and after

Harmonies are now built in OKLCH: the hue is rotated around the base colour while its OKLab lightness stays the same, so a triad's three colours look equally light; a colour outside sRGB loses chroma only. When you ask for more colours than the scheme has hues, the extra slots are lighter or darker steps of those hues instead of repeats, and the base colour is kept exactly. Swatches show their WCAG contrast on white and on black. On October 13, 2026, with the random jitter fixed at its midpoint:

ModeBefore (HSL rotation)Now (OKLCH)
Triadic#3A82F7 #F73A82 #82F73A #3A82F7 #F73A82 (3 distinct; 0.62 / 0.65 / 0.87)#3B82F6 #E24956 #3BA01B #8EB9FF #FF9697 (5 distinct; three hues at 0.62, two tints at 0.78)
Tetradic#3D84F6 #F63DE0 #F6B03D #3DF654 #3D84F6 (5th repeats 1st; 0.63–0.85)#3B82F6 #D54B97 #B07D00 #009E7B #8EB9FF (four hues at 0.62, one tint)
Complement#063C93 → #FACD85, a 180° sweep from dark to light#3B82F6 #B07D00 #8EB9FF #EDAB10 #1953B0 (the pair, then a tint of each and a shade)

Across 2,000 random base colours per mode (5 colours each), sets containing two near-identical colours (OKLab distance under 0.02) fell from 382 to 0 for triadic, 401 to 0 for tetradic, 37 to 0 for split-complementary and 57 to 0 for analogous. The lightness spread among the scheme's main hues fell from a median of 0.20 to 0.001 (triadic) and 0.22 to 0.001 (tetradic) on the 0–1 OKLab scale. In Chromium every mode gave 5 distinct swatches at desktop and 390px widths.

Related tools

Frequently Asked Questions

How do I create a color palette?
Start with a base color that represents your brand, then use color harmony rules — complementary, analogous, triadic, or split-complementary — to generate colors that work together. This tool automates that process and lets you fine-tune each color.
What is a complementary color scheme?
A complementary scheme uses two colors opposite each other on the color wheel (like blue and orange). These combinations create high contrast and visual energy, making them effective for calls-to-action and accent colors.
How many colors should a design palette have?
Most design systems use 5-7 core colors: a primary brand color, a secondary color, an accent, a neutral/gray scale, and semantic colors for success (green), warning (yellow), and error (red) states.
What is color harmony?+
Color harmony refers to color combinations that are visually pleasing and balanced. Harmony rules are based on positions on the color wheel: complementary (opposite), analogous (adjacent), triadic (equidistant triangle), and split-complementary (opposite plus neighbors). These relationships create palettes with natural visual balance.
How many colors should a website palette have?+
Most websites use 5–7 colors: 1 primary, 1 secondary, 1 accent, 2–3 neutrals (grays for text, backgrounds, borders), and potentially 1 semantic color for errors/success. Each main color should have a shade scale (light to dark variants) for flexibility.
What is the difference between complementary and analogous colors?+
Complementary colors sit opposite each other on the color wheel (red/green, blue/orange) and create high contrast and visual energy. Analogous colors sit next to each other (blue/teal/green) and create harmonious, calming palettes. Complementary is bolder; analogous is more subtle.

📖 Learn More

Related Article The Complete Guide to Color Palettes → Related Article How to Generate a Color Palette →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service