Pairing 05 of 27

Gray, white and purple color palette

A gray, white and purple color palette: dark gray #212121 (Lead), white #F5F5F5 (White Smoke) and light purple #C084FC (Illicit Purple). Below are the hex, RGB and HSL values, the WCAG contrast ratio for each pair, and the palette on example websites.

Passes WCAG AA for normal text (4.5:1): #212121 and #F5F5F5 (14.76:1), #212121 and #C084FC (6.09:1). Does not pass: #F5F5F5 and #C084FC (2.42:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Lead#212121rgb(33 33 33)hsl(0 0% 13%)White, 16.10:1
White Smoke#F5F5F5rgb(245 245 245)hsl(0 0% 96%)Black, 19.26:1
Illicit Purple#C084FCrgb(192 132 252)hsl(270 95% 75%)Black, 7.94:1

Contrast ratios

WCAG 2 contrast between each pair of colors. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text (18 pt, or 14 pt bold) and UI parts need 3:1 for AA.

PairRatioAA textAAA textAA largeUse
Lead and White Smoke14.76:1PassPassPassBody text
Lead and Illicit Purple6.09:1PassFailPassBody text
White Smoke and Illicit Purple2.42:1FailFailFailAccents only

How to use this palette

  • Lead and White Smoke is the strongest pair at 14.76:1. It passes AAA, so it works for body text.
  • Keep White Smoke and Illicit Purple (2.42:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Lead takes white text at 16.10:1; White Smoke takes black text at 19.26:1; Illicit Purple takes black text at 7.94:1.
  • Lightness runs from 1294% (Lead) to 9608% (White Smoke), a wide spread. Use Lead or White Smoke as the page background and the other as text.
  • Illicit Purple is the most saturated (9524%) and very light, so it suits the accent: buttons, links and one-off highlights.

Preview on example websites

The same three colors on made-up sites. The first color is the base, the second supports it in panels and photos, and the third is the accent. Switch the template with the arrows, turn the accent off, or swap the roles.

Product launch