1. Home
  2. Color
  3. Color Palette Generator

Color Palette Generator

Pick one color and get matching schemes based on the color wheel.

Runs in your browser · No upload Works offline
Any format works: HEX, RGB, HSL and more.
 

The opposite hue (180°). The strongest contrast — great for accents.

Base
#3366cchsl(220, 60%, 50%)
#cc9933hsl(40, 60%, 50%)
Code to copy
:root { --color-1: #3366cc; --color-2: #cc9933; }

How to use

  1. Enter a base color or use Pick a color. #3366cc, rgb(51, 102, 204) and hsl(220, 60%, 50%) all work.
  2. Choose a harmony and the matching colors appear as cards. The card marked “Base” is the color you started with.
  3. Each card has a Copy button for its HEX code.
  4. At the bottom, export the whole palette as CSS variables, JSON or a HEX list.

Harmonies

Colors are created by rotating the base color’s hue on the HSL color wheel, keeping saturation and lightness the same.

Harmony Hue angles Character
Complementary 0°, 180° strongest contrast — buttons and accents
Analogous −30°, 0°, +30° calm and natural
Triadic 0°, 120°, 240° balanced and lively
Split complementary 0°, 150°, 210° softer than a straight complement
Tetradic 0°, 90°, 180°, 270° many hues — let one dominate
Monochrome 30% and 60% white and black mixed in light-to-dark shades of one color

Example

Starting from #3366cc (a blue at 220°):

  • Complementary: #3366cc + #cc9933 (ochre, 40°)
  • Triadic: #3366cc, #cc3366 (340°), #66cc33 (100°)
  • Monochrome: #adc2eb → #7094db → #3366cc → #24478f → #142952

Exported as CSS, you get lines like --color-1: #3366cc;, and you can rename the prefix, for example to brand.

Things to keep in mind

  • This is the HSL wheel used for screens (RGB), not the red-yellow-blue (RYB) wheel taught in art class, so complements differ: the complement of red here is cyan (#00ffff), not green.
  • A gray with almost no saturation stays the same when its hue is rotated; use Monochrome instead.
  • Harmony rules are a starting point. Check text and background pairs for contrast in the color converter, or start from something unexpected with the random color generator.

FAQ

How is the complementary color calculated?

Add 180° to the base color’s HSL hue and keep saturation and lightness. A blue at 220° has an orange-ochre complement at 40°.

Can I use the palette in Figma or code?

Yes. Paste the HEX list into a design tool, drop the CSS variables into :root in your stylesheet, or use the JSON in a design-token file.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.