CSS named color

Plum #DDA0DD

plum rgb(221, 160, 221)

Plum is a light magenta with the hex code #DDA0DD, which converts to rgb(221, 160, 221). Open #DDA0DD in the converter to tweak it.

Plum color values

HEX#DDA0DD
HEX (shorthand)—
RGBrgb(221, 160, 221)
RGBArgba(221, 160, 221, 1)
8-digit HEX#DDA0DDFF
HSLhsl(300, 47%, 75%)
HSV / HSB300°, 28%, 87%
CMYK0%, 28%, 0%, 13%
RGB 0–10.867, 0.627, 0.867
Decimal14524637
CSS keywordplum

How #DDA0DD converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: DD → 221, A0 → 160, DD → 221. That gives rgb(221, 160, 221). The step-by-step guide explains the math.

Shades of Plum

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Plum

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Plum on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Plum 2.06:1Fail
Black Plum 10.14:1AAA

Use black text on a plum background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Plum in CSS

.element {
  color: plum;                         /* keyword */
  background-color: #DDA0DD;            /* hex */
  border-color: rgb(221 160 221 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #DDA0DD80 is Plum at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Plum?

The CSS named color plum is #DDA0DD in hexadecimal. In CSS you can write color: plum; or color: #DDA0DD; — both produce the same pixel.

What is Plum in RGB?

Plum is rgb(221, 160, 221): red 221, green 160, blue 221 on the 0–255 scale. As normalized 0–1 floats that is (0.867, 0.627, 0.867).

Is white or black text more readable on Plum?

Black text is more readable. White on #DDA0DD has a contrast ratio of 2.06:1 (Fail), black on #DDA0DD has 10.14:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!