Plum #DDA0DD
Plum is one of the named colours in CSS, written plum. Black text reaches 10.15:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | plum |
|---|---|
| HEX | #DDA0DD |
| RGB | rgb(221 160 221) |
| HSL | hsl(300 47% 75%) |
| OKLCH | oklch(78.3% 0.108 326.5) |
| White text | 2.07:1 · body text AA Fail |
| Black text | 10.15:1 · body text AA Pass |
Colours that go with Plum
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Grayish Lavender - A (#B5B1D8), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Plum itself.
| Colour | HEX | Contrast with Plum | Body text AA |
|---|---|---|---|
| Cotinga Purple | #501345 | 6.67:1 | Pass |
| Pale Burnt Lake | #802626 | 4.56:1 | Pass |
| Dark Slate Purple | #704357 | 3.86:1 | Fail |
| Helvetia Blue | #005B8D | 3.52:1 | Fail |
| Carmine | #CC1236 | 2.74:1 | Fail |
| Deep Violet / Plumbeous | #70727C | 2.31:1 | Fail |
| Aconite Violet | #A36AA5 | 1.97:1 | Fail |
| Benzol Green | #00978D | 1.75:1 | Fail |
| Buffy Citrine | #96874D | 1.73:1 | Fail |
| Cinnamon Rufous | #C27544 | 1.71:1 | Fail |
| Khaki | #BC892B | 1.50:1 | Fail |
| Eosine Pink | #F37F94 | 1.23:1 | Fail |
| Calamine BLue | #78CDD0 | 1.13:1 | Fail |
Palettes with Grayish Lavender - A
- Combination #8 Cinnamon Rufous · Grayish Lavender - A
- Combination #15 Benzol Green · Grayish Lavender - A
- Combination #159 Khaki · Calamine BLue · Grayish Lavender - A
- Combination #177 Pale Burnt Lake · Buffy Citrine · Grayish Lavender - A
- Combination #218 Helvetia Blue · Grayish Lavender - A · Deep Violet / Plumbeous
- Combination #248 Eosine Pink · Khaki · Grayish Lavender - A · Dark Slate Purple
- Combination #307 Carmine · Grayish Lavender - A · Aconite Violet · Cotinga Purple
Shades and tints of Plum
Nine lightness steps in OKLCH that keep the hue of Plum. Chroma is reduced only where sRGB cannot show it.
- 100#FFEFFF
- 200#FFD4FE
- 300#F3B5F3
- 400#D599D5
- 500#B57AB5
- 600#925A93
- 700#733D74
- 800#562257
- 900#3A043C
:root {
--plum-100: #FFEFFF;
--plum-200: #FFD4FE;
--plum-300: #F3B5F3;
--plum-400: #D599D5;
--plum-500: #B57AB5;
--plum-600: #925A93;
--plum-700: #733D74;
--plum-800: #562257;
--plum-900: #3A043C;
}
Text that keeps Plum on screen
Text #3A043C on #DDA0DD reaches 8.04:1, which passes WCAG AA for body text. Check it on a dashboard