#DDA0DD
plum
#DDA0DD is a magenta colour. In RGB it is 221 red, 160 green and 221 blue, which converts to a hue of 300 degrees, 47% saturation and 75% lightness. It is one of the named CSS colours, written as plum in stylesheets.
Color values
| HEX | #DDA0DD |
|---|---|
| RGB | rgb(221, 160, 221) |
| HSL | hsl(300, 47%, 75%) |
| HSV | hsv(300, 28%, 87%) |
| CMYK | cmyk(0%, 28%, 0%, 13%) |
Contrast and accessibility
Against white the contrast ratio is 2.07:1, and against black it is 10.15:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 2.07:1 | Fail | Fail |
| Black | 10.15:1 | AAA | AAA |
Tints and shades
Lighter tints move #DDA0DD toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #DDA0DD; |
|---|---|
| CSS rgb() | color: rgb(221 160 221); |
| Tailwind | bg-[#dda0dd] |
| SwiftUI | Color(red: 0.867, green: 0.627, blue: 0.867) |
| Android | Color.parseColor("#DDA0DD") |