Color Palette Generator
Generate 5-color palettes from a base HEX color with monochromatic, analogous, complementary, triadic, tetradic, and random harmony modes.
Tip: press Space for a new palette. Lock a swatch to keep it unchanged during the next generation.
:root {
}Generate a 5-color design palette
Use this color palette generator to start from one HEX color and build a compact palette for UI mockups, websites, dashboards, product cards, and brand experiments.
- Choose a base color with a color picker or by entering HEX.
- Switch between monochromatic, analogous, complementary, split-complementary, triadic, tetradic, and random harmony modes.
- Copy each color as HEX, RGB, or HSL.
- Export the full palette as CSS variables, Tailwind config, or JSON.
Harmony model
The tool uses HSL hue offsets around the color wheel. Harmony modes are quick starting points, not a substitute for testing the palette inside the real layout.
| Mode | Typical feel | Good starting point for |
|---|---|---|
| Monochromatic | Quiet and cohesive | Dashboards, forms, restrained UI |
| Analogous | Soft and natural | Landing pages, editorial sections, backgrounds |
| Complementary | High contrast | Calls to action and accent states |
| Triadic | Lively | Illustrations, charts, playful interfaces |
| Tetradic | Rich but harder to balance | Infographics and multi-section layouts |
Accessibility and export notes
The preview chooses black or white text for readability, but it is not a full WCAG audit. Check final text/background pairs before shipping.
CSS variables are useful for plain CSS, Tailwind export is a starter `extend.colors` block, and JSON works well for design-token scripts or internal tooling.
Frequently Asked Questions
Sources and References
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Generate one random color or a 5-color random palette with HEX, RGB, and HSL values for CSS, design mockups, and test data.
Create linear, radial, and conic CSS gradients with live preview, color stops, angle or position controls, presets, and copy-ready CSS.