Color Palette Generator
Generate beautiful color palettes from any base color. Monochromatic, complementary, triadic, analogous and more. Export as CSS, Tailwind, or JSON.
Base Color
Press Space anywhere to randomize
Click any swatch to copy its HEX value. Hover to see RGB and HSL.
Export
--color-primary: #CEE0FD; --color-secondary: #77A8F9; --color-tertiary: #0B64F4; --color-quaternary: #07409C; --color-quinary: #031E49;
colors: {
'primary': '#CEE0FD',
'secondary': '#77A8F9',
'tertiary': '#0B64F4',
'quaternary': '#07409C',
'quinary': '#031E49'
}[ "#CEE0FD", "#77A8F9", "#0B64F4", "#07409C", "#031E49" ]
Common Use Cases
About Color Palette Generator
Color theory is the foundation of every design system. The way colors relate to each other on the color wheel determines whether a palette feels harmonious, energetic, calm, or striking. Understanding these relationships, and knowing how to derive them mathematically from a single base color, is one of the most practical skills in UI and graphic design.
Monochromatic palettes use one hue across a range of lightness and saturation values. They feel cohesive and refined, and are the basis of nearly every "minimal" or "clean" design. Complementary palettes pair a color with its opposite on the wheel (180° away), creating high contrast and vibrant tension, ideal for call-to-action buttons against a neutral background. Triadic palettes use three colors equally spaced (120° apart), offering variety while maintaining balance. Analogous palettes use colors adjacent on the wheel (±30°), producing naturally pleasing, low-contrast combinations often found in nature. Split-complementary is a softer alternative to complementary: it takes the two colors adjacent to the complement, giving contrast without the harshness of a direct complement.
The "Shades" mode generates a 10-step tint-and-shade scale modeled after Tailwind CSS's color system (50 through 900). This is directly usable in a Tailwind config or design token setup: pick your brand color and instantly get the full scale from near-white to near-black.
All palette math runs entirely in your browser using HSL (Hue, Saturation, Lightness), the most intuitive color model for manipulation. Rotating the hue produces harmonic color relationships. Adjusting lightness produces tints and shades. Adjusting saturation produces muted or vivid variants. The tool exports palettes as CSS custom properties, Tailwind config objects, or JSON arrays, ready to paste directly into your codebase.
Frequently Asked Questions
What is the difference between complementary and split-complementary?
When should I use a monochromatic palette?
How do I use the Shades output in Tailwind CSS?
What does the CSS variables export look like and where do I paste it?
Why does the tool use HSL instead of RGB for palette math?
Can I use these palettes commercially?
Related Tools
View all GeneratorsRandom Color Generator
Generate random colors from the full color wheel or from curated palettes like pastels, neons, primary colors and more. Pick 1 to 20 colors at once.
Invoice Generator
Create professional invoices with your company details, custom line items, tax, and totals, then download a ready-to-send PDF, entirely in your browser.
ULID Generator
Generate random, lexicographically sortable ULIDs, a modern alternative to UUIDs that sort by creation time. Batch generate and decode existing ULIDs, entirely in your browser.