Plum
Hex #DDA0DD, rgb(221 160 221). A purple CSS named color.
Open in palette generatorPlum color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Plum
Plum is a light moderately saturated purple with the hex code #DDA0DD. In RGB it is made of 221 red, 160 green and 221 blue; in HSL its hue is 300°, with 47% saturation and 75% lightness. Its perceptual lightness (OKLCH L) is 78.3%.
It is a CSS named color, so you can write "plum" anywhere CSS accepts a color. Against white it has a contrast ratio of 2.07:1 and against black 10.15:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Plum mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Plum 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Plum
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Plum with white and black. The readable text color on Plum is black.
On white2.07:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 40
On black10.15:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -62
Test any pair in the contrast checker.
Color blindness preview
How Plum appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#9CAFDF
- Deuteranopia#AAB7DB
- Tritanopia#E1A5B6
- Protanomaly#B1ACDE
- Deuteranomaly#B7B2DB
- Tritanomaly#DFA2CC
- Achromatopsia#B4B4B4
Colors similar to Plum
The closest named colors by perceptual difference (OKLab).
Use Plum in CSS and Tailwind
.plum {
color: plum; /* #DDA0DD */
background-color: rgb(221 160 221);
border-color: oklch(78.3% 0.108 326.5);
}/* Tailwind CSS v4: bg-plum-500, text-plum-700... */
@theme {
--color-plum-50: #FFF7FF;
--color-plum-100: #F8E5F7;
--color-plum-200: #ECCAEC;
--color-plum-300: #DDA0DD;
--color-plum-400: #CA6DCB;
--color-plum-500: #BA4CBD;
--color-plum-600: #A339A7;
--color-plum-700: #852B88;
--color-plum-800: #6B246D;
--color-plum-900: #561F58;
--color-plum-950: #270528;
}
<!-- or the exact color, no config -->
<div class="bg-[#DDA0DD] text-[#000000]">…</div>