Color Palette Generator
Generate complementary, analogous, triadic and more from any base color.
About the Color Palette Generator
Generate complementary, analogous, triadic and more from any base color. Every value is computed locally with vanilla JavaScript — there is no server round-trip, no sign-up and no limit on how many times you use it.
How to use
Choose a base color
Enter a HEX value or pick one visually.
Select a harmony
Choose complementary, analogous, triadic and more from the menu.
Review the palette
A row of coordinated swatches is generated instantly.
Copy any color
Click a swatch to copy its HEX, or hit Random to explore.
Benefits
Coordinated colors fast
Get a balanced set from a single starting color.
Many schemes
Switch between harmony types to match the mood you want.
Inspiration on demand
The Random button surfaces fresh palettes in a click.
Features & supported formats
Features
- Multiple harmony types
- Random palette button
- Click-to-copy swatches
- Live base-color preview
- Works from any HEX
Supported formats
Accuracy & limitations
Harmony schemes are hue arithmetic on the color wheel. They tell you which hues relate to each other, and nothing about whether the palette suits your project or passes contrast.
- Harmony schemes are hue rotations on the color wheel. They tell you which hues relate, not whether the resulting palette suits your project.
- Generated colors carry no accessibility guarantee. Check any pair you plan to use for text in the contrast checker.
- Saturation and lightness are held near the base color, so a very light or very dark input produces a correspondingly narrow palette.
- Hue rotation in HSL is not perceptually uniform — a 120-degree step does not feel equally large everywhere on the wheel.
Frequently asked questions
Which harmony should I use?
Analogous palettes feel calm, complementary palettes feel energetic, and triadic palettes feel balanced and vibrant.
How are the colors calculated?
The tool rotates the base hue on the color wheel and adjusts lightness or saturation to build each scheme.
Can I lock a color I like?
Copy any swatch you want to keep, then generate again around a new base for more options.
How many colors per palette?
It depends on the harmony — from two for complementary up to five for monochromatic and tonal sets.
Are palettes free to use?
Yes. The colors you generate are yours to use in any personal or commercial project.
Further reading
Color Harmony
The classic harmony schemes as hue arithmetic, what each one feels like in a real interface, and how to keep a palette from falling apart.
AccessibilityAccessible Color
How contrast ratio is calculated, what AA and AAA actually require, and how to design for color-vision deficiency without losing your brand.