Plum
Plum is a light, rich color from the purple family. Hex code #DDA0DD.
Color codes
- CSS name
plum - HEX
#DDA0DD - RGB
rgb(221 160 221) - HSL
hsl(300 47% 75%) - HSB / HSV
hsb(300, 28%, 87%) - OKLCH
oklch(78.3% 0.108 326.5) - CMYK
cmyk(0%, 28%, 0%, 13%)
White text
2.06:1 · fails WCAG
Black text
10.14:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Plum in CSS and design
Plum is a light, rich color from the purple family. Plum is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: plum;
color: #DDA0DD;
color: rgb(221 160 221);
color: hsl(300 47% 75%);For text on plum, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for plum?
#DDA0DD. In CSS you can also use the keyword plum, which works in every browser.
What is plum in RGB and HSL?
In RGB it is rgb(221 160 221), in HSL hsl(300 47% 75%). For print, cmyk(0%, 28%, 0%, 13%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on plum?
Black text works better: it has a contrast ratio of 10.14:1 and passes WCAG AAA. White text reaches 2.06:1.
Which colors go with plum?
Its complementary color is #8ACB8F, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #BFAAF6 and #F09BBA. The palette generator builds more combinations.