Plum Hex Code #DDA0DD
Plum is a light, moderate purple with the hex code #DDA0DD. In RGB it is 221, 160, 221, and in HSL it is 300°, 47%, 75%. It is one of the 148 named colors in CSS, so you can write “plum” instead of the hex code.
- HEX
- #DDA0DD
- RGB
- rgb(221, 160, 221)
- HSL
- hsl(300, 47%, 75%)
- HSV
- hsv(300°, 28%, 87%)
- CMYK
- cmyk(0%, 28%, 0%, 13%)
- CSS name
- plum
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Plum
On a white background Plum has a contrast ratio of 2.07:1 (Fail), and on black 10.15:1 (AAA). Black text is the better choice on top of it.
It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.
Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.
Shades and tints of Plum
Tints mix Plum with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Plum
These schemes are calculated from Plum on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Plum is #CBDDA0, close to the named color Pale Goldenrod.
Plum contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Plum scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 2.07:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 10.15:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Plum and color blindness
These are approximate previews of how Plum can look with the main types of color vision deficiency.
Plum changes noticeably.
Plum changes noticeably.
Plum changes noticeably.
Plum changes noticeably.
Gradients with Plum
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Plum to a lighter tint
background: linear-gradient(135deg, #dda0dd 0%, #f1d9f1 100%); Plum to its analogous neighbour
background: linear-gradient(135deg, #dda0dd 0%, #dda0bf 100%); Plum to its complement
background: linear-gradient(135deg, #dda0dd 0%, #a0dda0 100%); Colors similar to Plum
How each close match differs from Plum.
Use Plum in code
.element {
color: #dda0dd;
background-color: #dda0dd;
border-color: plum; /* plum is a valid CSS color name */
} :root {
--color-plum: #dda0dd;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#dda0dd] text-[#dda0dd] border-[#dda0dd]"></div>
/* Tailwind v4 theme color */
@theme {
--color-plum: #dda0dd;
} Plum questions
What is the hex code for Plum?
The hex code for Plum is #DDA0DD. In RGB that is rgb(221, 160, 221), and in HSL it is hsl(300, 47%, 75%).
What is the complementary color of Plum?
On the RGB (screen) color wheel, the complement of Plum is #A0DDA0, which is close to Dark Sea Green. On the artist’s RYB wheel it is #CBDDA0, close to Pale Goldenrod.
Should I use white or black text on Plum?
Black text. It has a contrast ratio of 10.15:1 against Plum, which is WCAG AAA. The other option scores 2.07:1.
Is Plum accessible as a text color on white?
No. Plum on white scores 2.07:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Plum?
Mixing Plum with black gives #B180B1, #856085, #584058, #2C202C (20% to 80% black). Mixing it with white gives #E4B3E4, #EBC6EB, #F1D9F1, #F8ECF8 (20% to 80% white).