Design ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Design Tools

Colour Palette Generator

Turn one base colour into a 50–900 tint and shade scale or a complementary, analogous, triadic, split or square scheme, exported as CSS, SCSS or Tailwind code.

View all tools
ResultUpdates as you type
50#e0ecfc
100#c6dcf9
200#9fc5f5
300#74aaf1
400#458dec
500#1a73e8
600#1464cc
700#1153aa
800#0e4388
900#0b346a
:root {
  --brand-50: #e0ecfc;
  --brand-100: #c6dcf9;
  --brand-200: #9fc5f5;
  --brand-300: #74aaf1;
  --brand-400: #458dec;
  --brand-500: #1a73e8;
  --brand-600: #1464cc;
  --brand-700: #1153aa;
  --brand-800: #0e4388;
  --brand-900: #0b346a;
}
NameRoleHEXRGBHSLOn whiteOn black
50Tint#e0ecfcrgb(224, 236, 252)hsl(214, 82%, 93%)1.19:117.57:1
100Tint#c6dcf9rgb(198, 220, 249)hsl(214, 81%, 88%)1.40:115.01:1
200Tint#9fc5f5rgb(159, 197, 245)hsl(213, 81%, 79%)1.78:111.78:1
300Tint#74aaf1rgb(116, 170, 241)hsl(214, 82%, 70%)2.40:18.76:1
400Tint#458decrgb(69, 141, 236)hsl(214, 81%, 60%)3.35:16.27:1
500Base#1a73e8rgb(26, 115, 232)hsl(214, 82%, 51%)4.51:14.66:1
600Shade#1464ccrgb(20, 100, 204)hsl(214, 82%, 44%)5.64:13.72:1
700Shade#1153aargb(17, 83, 170)hsl(214, 82%, 37%)7.39:12.84:1
800Shade#0e4388rgb(14, 67, 136)hsl(214, 81%, 29%)9.65:12.18:1
900Shade#0b346argb(11, 52, 106)hsl(214, 81%, 23%)12.26:11.71:1

How to use Colour Palette Generator

Enter a base colour or pick one, choose a palette type and a code format, and set a variable name prefix. Swatches, paste-ready code and a table of HEX, RGB, HSL and contrast values update instantly.

  1. Set the base colourType HEX, rgb(), hsl() or a colour name, or use the picker. Any transparency is ignored.
  2. Choose a palette typeTints and shades gives ten steps from 50 to 900; the other options rotate the hue around the colour wheel.
  3. Export the codePick CSS custom properties, SCSS variables, a Tailwind colour config or a plain HEX list, and set the prefix.

How the 50–900 scale is built

The base colour becomes step 500. Hue and saturation stay fixed while lightness moves towards about 97% for the tints 50 to 400 and towards about 12% for the shades 600 to 900, in uneven steps so the light end stays usable. With #1a73e8 the scale runs 50 #e0ecfc, 100 #c6dcf9, 300 #74aaf1, 500 #1a73e8, 700 #1153aa and 900 #0b346a, output as --brand-50 to --brand-900. The table lists each step's contrast on white and on black, so you can see at a glance which steps work for text and which suit backgrounds.

Colour wheel schemes

Complementary rotates the hue by 180°, so #1a73e8 pairs with #e88f1a. Analogous takes 30° either side (#1adae8 and #281ae8), triadic adds 120° and 240° (#e81a73 and #73e81a), split complementary uses 150° and 210°, and square adds 90°, 180° and 270°. Monochromatic keeps the hue and moves lightness 15 and 30 points each way. Saturation and lightness are kept for the rotated colours, so they share the same intensity. A near-grey base has no hue to rotate, so the tool warns you and suggests tints and shades instead.

Accuracy and data handling

Review colours, dimensions and visual settings in the real component, type size and target display. The calculation runs in your current browser; the tool code does not send the input to a processing API.

FAQ

How do I use the palette in Tailwind?

Choose Tailwind colour config and paste the block into theme.extend.colors in tailwind.config.js. With the prefix brand and the 50–900 scale you can then use classes such as bg-brand-500 or text-brand-900.

Can I start from an RGB value or a colour name?

Yes. The base colour accepts HEX, rgb(), hsl(), hwb() or CSS names such as tomato. Any alpha value is ignored because the palette only produces solid colours.

Why does my complementary colour differ from other apps?

Hues here are rotated on the HSL colour wheel used by CSS. Some design apps default to the painter's red-yellow-blue wheel, where the complement of a blue lands on a different orange.

More Design Tools

Related tools