Pairing 07 of 27

Purple, white and yellow color palette

A purple, white and yellow color palette: purple #7D2CFF (Violent Violet), white #FFFFFF and yellow #F5B916 (Curry Bubbles). 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): #7D2CFF and #FFFFFF (5.71:1). Does not pass: #7D2CFF and #F5B916 (3.21:1), #FFFFFF and #F5B916 (1.77:1).

Open in generator

Color values

ColorHexRGBHSLBest text on it
Violent Violet#7D2CFFrgb(125 44 255)hsl(263 100% 59%)White, 5.71:1
White#FFFFFFrgb(255 255 255)hsl(0 0% 100%)Black, 21.00:1
Curry Bubbles#F5B916rgb(245 185 22)hsl(44 92% 52%)Black, 11.83: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
Violent Violet and White5.71:1PassFailPassBody text
Violent Violet and Curry Bubbles3.21:1FailFailPassLarge text and UI
White and Curry Bubbles1.77:1FailFailFailAccents only

How to use this palette

  • Violent Violet and White is the strongest pair at 5.71:1. It passes AA for body text but not AAA.
  • Keep White and Curry Bubbles (1.77:1) apart. Use them as neighboring fills or accents, never as text on a background.
  • Violent Violet takes white text at 5.71:1; White takes black text at 21.00:1; Curry Bubbles takes black text at 11.83:1.
  • Lightness runs from 5235% (Curry Bubbles) to 10000% (White), a wide spread. Use Curry Bubbles or White as the page background and the other as text.
  • Violent Violet is the most saturated (10000%) 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