Swatchproof

Pantone P 8-9 C, P 177-16 C & P 4-7 C colour palette

The palette uses Ivory, Deep Plum and Ivory.

Preview on a website Try on walls

Colour codes

ColourHEXRGBOKLCHText on it
Ivory #F5EED8rgb(245 238 216)oklch(94.9% 0.030 92.3) Black (18.10:1)
Deep Plum #2B2A29rgb(43 42 41)oklch(28.6% 0.002 67.7) White (14.33:1)
Ivory #F6F1CErgb(246 241 206)oklch(95.3% 0.046 100.5) Black (18.39:1)

Contrast between the colours

2 of 3 colour pairs pass WCAG AA for body text. The strongest is Deep Plum with Ivory at 12.55:1.

PairRatioBody text AA (4.5:1)Body text AAA (7:1)Large text and icons (3:1)
Deep Plum / Ivory12.55:1PassPassPass
Ivory / Deep Plum12.35:1PassPassPass
Ivory / Ivory1.02:1FailFailFail

Results use the unrounded WCAG 2.2 ratio, so a pair shown as 4.50:1 can still fail. W3C contrast guidance

Use it on a website

Swatchproof puts the lightest workable colour behind the text and changes as few colours as possible to reach 4.5:1.

Background #F6F1CE Ivory
Text #2B2A29 Deep Plum
Button #F5EED8 Ivory
Button text #000000
:root {
  --background: #F6F1CE;
  --text: #2B2A29;
  --accent: #F5EED8;
  --on-accent: #000000;
}

Preview on a dashboard