Color Palette Generator

Generate harmonious color schemes instantly. Pick a base color, choose a harmony mode, and get beautiful palettes with hex, RGB, and HSL values ready to copy.

Base Color
#
Harmony Mode
Generated Palette
WCAG Contrast Checker

Contrast ratios between adjacent palette colors. AA requires ≥ 4.5:1 for normal text, AAA requires ≥ 7:1.

Export Palette
Palette History (last 5 — click to restore)
No history yet. Generate a palette to begin.

Color Theory Basics

Color theory is the framework designers and artists use to understand how colors relate to one another and how they interact visually. At its core, color theory is built on the color wheel — a circular arrangement of hues that makes it easy to identify harmonious combinations.

Every color can be described in multiple models. RGB (Red, Green, Blue) is how screens display color, using values from 0 to 255. HSL (Hue, Saturation, Lightness) is more intuitive for design work — hue is the pure color angle on the wheel (0–360°), saturation controls vividness, and lightness controls how bright or dark the color appears. Hex is a compact six-character representation of RGB used widely in CSS.

Color Harmony Types Explained

Color harmony refers to the aesthetically pleasing arrangement of colors based on their relationships on the color wheel. Each mode produces a different visual character.

Complementary

Two colors directly opposite each other on the wheel. Creates strong contrast and visual tension. Ideal for making elements pop.

Analogous

Colors adjacent on the wheel, typically spanning 30° each. Produces serene, comfortable palettes that appear naturally cohesive.

Triadic

Three colors evenly spaced 120° apart. Vibrant and balanced — offers contrast while maintaining harmony across all three hues.

Split-Complementary

A base color plus the two colors adjacent to its complement. Less tension than pure complementary, but still strong contrast.

Monochromatic

Shades, tints, and tones of a single hue. Elegant and cohesive — safe for backgrounds, typography hierarchies, and UI surfaces.

Random Harmonious

An algorithmically balanced random palette derived from the base hue. Good for exploring unexpected combinations with structure.

How to Choose a Color Palette

Choosing the right palette for a project involves more than aesthetics. Consider the following principles:

The 60-30-10 Rule

A foundational interior design rule that translates well to web and graphic design: use your dominant color for 60% of the design, your secondary for 30%, and your accent for 10%. This ratio creates visual balance and a natural hierarchy.

Understanding Color Temperature

Colors have an inherent temperature. Warm colors (reds, oranges, yellows) feel energetic, urgent, and inviting. Cool colors (blues, greens, purples) feel calm, trustworthy, and professional. Mixing warm and cool creates dynamic tension and can guide attention across a composition.

Tips for Web Design Color Selection

Semantic Color Systems

Modern design systems (Tailwind, Material, Radix) use semantic color tokens rather than raw values. Instead of using #c9a84c directly, a token like --color-primary or colors.brand.500 allows the entire palette to be swapped out for a dark mode or theme without touching component code. This tool's export options give you a head start on building such a system.