Color Palette Generator
Create a harmonious palette of five colors with one click. Lock the shades you love, regenerate the rest, and click any swatch to copy its HEX code.
Your Palette — click a swatch to copy its HEX code
How It Works
This generator builds palettes in the HSL color model — hue, saturation, and lightness — because HSL matches how people actually think about color. It starts by picking a random base hue (a point on the color wheel, from red through green to blue), then creates five colors around it: some share a similar hue for harmony, while others sit further around the wheel to add contrast. Saturation and lightness are varied within pleasing ranges, so you get a mix of deep, mid-tone, and light shades instead of five near-identical colors or five clashing ones.
Each color is shown as a swatch with its HEX code — the six-character code (like #2563EB) that websites, design tools, and presentation software use to define an exact color. Click any swatch to copy its HEX code to your clipboard, or use "Copy All HEX Codes" to grab the whole palette at once, ready to paste into your design tool. If you love one color but want to re-roll the rest, click its lock button: locked colors stay exactly where they are on the next generate, so you can build a palette around a favorite shade.
Designers, bloggers, small business owners, and anyone making a presentation or a social media post use palettes like these to keep their colors consistent. For example, a bakery owner designing a new logo might generate palettes until one has a warm cream, a soft brown, and a friendly accent color — then use those exact HEX codes across the website, packaging, and Instagram posts so everything looks like it belongs together.
Frequently Asked Questions
What is a HEX code?
A HEX code is a six-digit code (letters A–F and numbers 0–9) that identifies an exact color, for example #FF5733 is a bright orange-red. It is the standard way colors are written in web design and most design software.
How do I use a locked color?
Click the lock button under a swatch. The color stays fixed while the others change each time you click Generate Palette. Click the button again to unlock it.
Why do the colors look good together?
The generator uses color theory: the five colors are built around related hues on the color wheel with balanced saturation and lightness, so they harmonize instead of clashing.
Can I use these palettes commercially?
Yes. Colors themselves are not copyrighted, and every palette here is generated fresh for you. Use them in logos, websites, products, or anything else.
What if I lock all five colors?
Regenerating will keep the whole palette unchanged, since every color is locked. Unlock at least one swatch to get new colors.
Last updated: November 2026