CSS color names · Purples

Plum color: hex #dda0dd, RGB and HSL

Plum is the CSS keyword plum, hex #dda0dd, rgb(221, 160, 221), hsl(300, 47%, 75%). It is a light, muted magenta in the purples family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
plum
Hex
#dda0dd
RGB
rgb(221, 160, 221)
HSL
hsl(300, 47%, 75%)
On white
2.07:1 — fails AA; use as a fill, not text
On black
10.15:1 — passes AA for body text
.example {
  color: plum;          /* keyword */
  color: #dda0dd;          /* hex */
  color: rgb(221, 160, 221); /* rgb */
  color: hsl(300, 47%, 75%); /* hsl */
}

What colors go with plum

Each match keeps plum's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside plum as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#a0dda0

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#bfdda0
#a0ddbf

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#dddda0
#a0dddd

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#bfa0dd
#dda0bf

Tints and shades of plum

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as plum — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#e3b0e3
#e8c0e8
#eecfee
#f4dff4
#f9eff9

Shades (darker)

#cc71cc
#bb43bb
#8c328c
#5e215e
#2f112f

A UI color palette built from plum

The eight semantic roles an interface actually uses, derived from plum as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#dda0dd
secondary
#bfdda0
accent
#a0ddbf
background
#fdfcfd
surface
#f6f3f6
text
#211221
muted
#885d88
border
#eae1ea
Dark mode
primary
#dda0dd
secondary
#bfdda0
accent
#a0ddbf
background
#191019
surface
#261726
text
#f6f3f6
muted
#b299b2
border
#452b45

Using plum in an interface

Purple is the hue most SaaS products have settled on for a primary — it is distinct from the blues of links and the reds and greens of status. The slate blues and indigo make dependable primaries; the light lavenders make tinted surfaces that still read as brand. Whichever role plum takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Plum?
Plum is #dda0dd. In CSS the keyword plum, the hex #dda0dd, rgb(221, 160, 221) and hsl(300, 47%, 75%) all paint the same color.
What colors go with Plum?
Its complement is #a0dda0, the split-complementary pair is #bfdda0 and #a0ddbf, the triadic partners are #dddda0 and #a0dddd, and the analogous neighbors are #bfa0dd and #dda0bf. In an interface, use Plum for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Plum on the color wheel?
The opposite (complementary) color is #a0dda0, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Plum for text?
Plum as text on white has a contrast ratio of 2.07:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 10.15:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More purples

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.