Free Color Palette Generator – Random & Harmony Palettes
Generate beautiful, accessible color palettes in seconds. Choose from random golden-ratio palettes, 5 color harmony rules, lock favourite colours, simulate color blindness, and export to CSS, Tailwind, or JSON. No sign-up.
Updated
What is the Free Color Palette Generator – Random & Harmony Palettes?
Designing a website, app, or brand identity? The right color palette makes all the difference. This free Color Palette Generator helps you create stunning, accessible colour combinations instantly—no design skills required.
Choose from five classic colour harmonies (analogous, complementary, triadic, tetradic, and monochromatic) or let the golden‑ratio random generator surprise you. Lock colours you love and re‑generate the rest until you find the perfect balance. Every palette comes with WCAG contrast ratios, so you know your text will always be readable.
What makes this tool special?
- Live colour‑blindness simulation – see your palette as someone with protanopia, deuteranopia, or tritanopia would.
- One‑click export – copy as a JSON array, CSS custom properties, or a Tailwind CSS config snippet.
- No sign‑up, no watermarks, no limits – just fast, private palette creation right in your browser.
How it works
Choose a generation mode
Select a colour harmony rule from the dropdown (Analogous, Complementary, Triadic, Tetradic, Monochromatic) or go with Random for a palette based on the golden‑ratio conjugate.Pick a base colour (harmony modes only)
Use the colour picker or type any hex code (e.g.#6366f1). The generator builds the whole palette around that starting point.Set the number of colours
You can generate between 2 and 10 colours in a single palette. The tool will automatically fill the count with visually pleasing tints, shades, and tones.Lock colours that you like
Click the lock icon on any colour swatch. When you change settings or re‑generate, locked colours stay in place while the others update around them.Check accessibility
Each swatch shows its highest contrast ratio against white or black, plus an AA pass/fail label. Use the Colour Blindness Simulation dropdown to preview the palette through the eyes of people with different types of colour vision deficiency.Export your palette
Use the copy buttons below the palette to grab:
- A plain JSON array of hex codes
- A block of CSS custom properties (
--color-1,--color-2…) - A Tailwind CSS
extend.colorssnippet ready to paste into your config
Examples
Analogous Palette from Indigo
Create a 5‑color analogous palette from the base color #6366f1.
Frequently asked questions
What is the best color palette generator?
What is the best color palette generator?
The best generator gives you creative control while handling technical details like contrast and export. This free tool combines classical colour theory (analogous, complementary, triadic, etc.) with a golden‑ratio random mode, plus real‑time accessibility checks and colour‑blindness simulation — all in a privacy‑first, no‑sign‑up interface.
Can I generate random color palettes?
Can I generate random color palettes?
Yes! Select Random (golden ratio) as the harmony mode and set your desired number of colours. Each click shuffles a new palette that always feels balanced because the hues are spaced using the golden‑ratio conjugate. You can lock any swatch before re‑rolling to refine your palette step by step.
How do I export my palette for Tailwind CSS or plain CSS?
How do I export my palette for Tailwind CSS or plain CSS?
Below the generated palette you’ll find three copy buttons: Hex Array, CSS Variables, and Tailwind Config.
- Hex Array – a JSON array of hex codes
- CSS Variables – ready‑to‑use
--color-1to--color-ndeclarations - Tailwind Config – a snippet that you can paste directly into
tailwind.config.jsunderextend.colors
What colour harmonies does the tool support?
What colour harmonies does the tool support?
You can choose from Analogous, Complementary, Triadic, Tetradic, and Monochromatic. Each one follows standard colour theory rules based on your selected base colour. The tool automatically creates tints and shades when you request more colours than the harmony naturally provides, so you always get a full, usable palette.
Can I see how colour‑blind people will perceive my palette?
Can I see how colour‑blind people will perceive my palette?
Absolutely. Use the Simulate colour blindness dropdown to switch between normal vision, protanopia, deuteranopia, and tritanopia. The palette swatches update live so you can build palettes that work for everyone.
Is the color palette generator really free?
Is the color palette generator really free?
Yes — completely free. No account required, no download. Everything runs inside your browser, so your colour choices never leave your device.
Related tools
More utilities you might find handy.
CMYK to RGB
Convert CMYK print colors to RGB values instantly with live preview, hex output, and copy-ready results.
Color Blindness Simulator
Preview how images and designs appear to people with protanopia, deuteranopia, tritanopia, and other color vision deficiencies
Color Escape Code Generator
Generate ANSI terminal color escape codes for styles, foregrounds, and backgrounds across bash, python, javascript, and more.