Color Palette Generator
Generate color palettes from a base color – complementary, analogous, triadic, shades and tints – with HEX, RGB and contrast info.
Tool
Was this tool useful?
About this tool
About Color Palette Generator
Build a matching color scheme for a website or brand. Lock colors you like and generate the rest, then export as CSS variables.
How it works
Harmonies rotate the hue on the color wheel: complementary +180°, triadic ±120°, analogous ±30°. Shades mix with black, tints with white.
Example
Base #6d28d9 with triadic gives #d9286d and #28d96d.
How to use this tool
- Pick a base color or press Random.
- Choose a harmony rule.
- Copy colors or export as CSS variables or JSON.
Frequently asked questions
Are the colors accessible?
Each swatch shows whether white or black text has better contrast, using the WCAG formula.
Can I save a palette?
Copy the CSS variables or JSON, or bookmark the page – the palette is stored in the URL.
Does the Color Palette Generator send my data to a server?
No. The Color Palette Generator runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.