Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Colour Palette Generator

The Colour Palette Generator builds a colour scheme from one base colour, such as your brand colour, using colour wheel rules like complementary and triadic. Each colour comes with hex, RGB and HSL values, a readable text colour, a tint and shade scale, and code for CSS, SCSS or JSON.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

Hex, rgb() or hsl(), or a name such as coral.

Tints and shades (50 to 950)

What is the Colour Palette Generator?

The Colour Palette Generator takes one base colour, as a hex code, rgb(), hsl() or a name, and turns its hue around the HSL colour wheel to make a scheme: complementary (opposite, 180 degrees), analogous (30 degrees either side), triadic (120 degrees apart), split complementary (150 and 210 degrees), tetradic, square or monochromatic. Saturation and lightness stay the same as your colour, so the scheme feels like one family, and your exact colour is always kept. For each colour it shows whether black or white text reads better on it, with the WCAG contrast ratio, and a scale of 11 tints and shades from 50 to 950 for buttons, borders and backgrounds. Click any swatch to copy its hex code, or copy the whole palette as CSS variables, SCSS variables, JSON or a hex list. It is for web designers, developers setting up a theme, small businesses choosing brand colours and students learning colour theory.

Who it is for: Web designers and developers setting up a theme, small business owners choosing brand colours, and students learning colour theory.

How to use the Colour Palette Generator

  1. Type your base colour or pick it with the colour box.
  2. Choose a colour scheme.
  3. Check the swatches, their text colour and contrast, and the tint and shade scales.
  4. Choose a code format and copy the palette, or click a swatch to copy one colour.

Why use it

  • Seven scheme rulesComplementary, analogous, triadic, split, tetradic, square and monochromatic.
  • Text that readsBlack or white text for each colour, with its contrast ratio.
  • Tints and shadesAn 11-step scale per colour, from 50 to 950.
  • Ready to pasteCSS or SCSS variables, JSON or a hex list.

At a glance

What you put in
A base colour (hex, rgb(), hsl() or a colour name), a scheme, a code format and whether to include tints and shades
What you get
2 to 4 harmony colours with hex, RGB and HSL, black or white text with WCAG contrast, an 11-step tint and shade scale per colour, and CSS, SCSS, JSON or hex code
Limits
Hues are turned on the HSL colour wheel, not a painter's red, yellow and blue wheel; transparency is ignored; the scales use HSL lightness, so steps are even in numbers, not always to the eye
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
Base colour #1E88E5 (a medium blue, hsl 208, 79%, 51%), triadic scheme, CSS variables.
Result
:root { --primary: #1E88E5; --secondary: #E51E88; --accent: #88E51E; }. The pink is hue 328 and the green hue 88, each 120 degrees from the blue. Black text reads best on all three: 5.71:1 on the blue, 4.87:1 on the pink and 13.27:1 on the green, so all pass WCAG AA for normal text.

208 + 120 = 328 and 208 + 240 = 448, which is 88 once you go round the wheel. Saturation (79%) and lightness (51%) stay the same, which is why the three colours look equally bright.

When to use something else

  • Colour wheel rules are a starting point, not a finished brand. Test the colours on real screens and in print before you commit.
  • The scheme uses the HSL wheel used on screens. Painters' wheels place colours differently, so a printed colour guide may show other complements.
  • Check text and button colours with the Contrast Checker, which also suggests the nearest colour that passes.
  • To take colours from a photo or screenshot, use the Image Colour Picker.

Questions people ask

How do I make a colour palette from one colour?

Start with the colour you are sure of, often a logo or brand colour. Pick a scheme: complementary for strong contrast, analogous for a calm look, triadic for something lively. Use the base for most of the design and the others for buttons, links and highlights.

What is a complementary colour?

The colour opposite yours on the colour wheel, 180 degrees away in hue. On screens, blue #1E88E5 pairs with orange #E57B1E. Complementary pairs give the strongest contrast of hue, so they work well for a call to action against a main colour.

What is the difference between analogous, triadic and split complementary?

Analogous colours sit next to each other (30 degrees apart) and look calm. Triadic colours are evenly spaced, 120 degrees apart, and look lively. Split complementary uses the two neighbours of the opposite colour (150 and 210 degrees), giving contrast with less clash than a straight complement.

What is the 60-30-10 rule?

A common design guide: about 60% of the space in a main or neutral colour, 30% in a second colour and 10% in an accent. With a triadic palette, for example, the base could lead, the second colour support and the third be kept for buttons.

What are tints and shades?

A tint is the colour mixed with white, a shade is it mixed with black. The 50 to 950 scale gives 11 steps from almost white to almost black in the same hue. Light steps suit backgrounds, middle steps buttons, and dark steps text and borders.

How do I know if text will be readable on a colour?

Each swatch shows whether black or white text reads better and the WCAG contrast ratio. Normal text needs at least 4.5:1 to pass level AA; large text and icons need 3:1. Anything lower is hard to read for many people.

How do I use the palette in CSS?

Choose CSS variables and copy the code into your stylesheet. Then use the names, such as color: var(--primary) or background: var(--accent). Turn on tints and shades to also get names such as --primary-100 and --primary-700.

Next, you might need