Plum color (#DDA0DD)
#DDA0DD (Plum) is a light muted pink colour. It is rgb(221, 160, 221) in RGB and hsl(300, 47%, 75%) in HSL. Text in black reads better on it: the contrast is 10.15:1 against black and 2.07:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#DDA0DD}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{A0}_{16}=160,\ B=\mathrm{DD}_{16}=221 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#A0DDA0} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#DDA0DD} = \mathrm{rgb}(221, 160, 221) \]
\[ \mathrm{#DDA0DD}:\quad R=\mathrm{DD}_{16}=221,\ G=\mathrm{A0}_{16}=160,\ B=\mathrm{DD}_{16}=221 \]
\[ H=300^\circ,\quad S=47\%,\quad L=75\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#A0DDA0} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.07:1\ \text{(on white)} \]Plum in every colour format
| Format | Value |
|---|---|
| HEX | #DDA0DD |
| RGB | rgb(221, 160, 221) |
| RGB (percent) | rgb(86.7%, 62.7%, 86.7%) |
| HSL | hsl(300, 47%, 75%) |
| HSV / HSB | hsv(300, 28%, 87%) |
| CMYK | cmyk(0%, 28%, 0%, 13%) |
| Decimal | 14524637 |
| Description | light muted pink |
| CSS name | plum |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 2.07:1 | fail | fail | fail | fail |
| Black text | 10.15:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #251B25 #4A354A #6F506F #936B93 #B885B8 |
| This colour | #DDA0DD |
| Tints (mixed with white) | #E3B0E3 #E8C0E8 #EED0EE #F4DFF4 #F9EFF9 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #9CAFDF | 29 |
| Deuteranopia | #AAB7DB | 29 |
| Tritanopia | #E1A5B6 | 24 |
| Grayscale | #B4B4B4 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Thistle | #D8BFD8 |
| Orchid | #DA70D6 |
| Violet | #EE82EE |
| Light pink | #FFB6C1 |
Questions
What is the RGB value of #DDA0DD?
rgb(221, 160, 221): red 221, green 160, blue 221.
What is the HSL value of #DDA0DD?
hsl(300, 47%, 75%): a hue of 300°, 47% saturation and 75% lightness.
What is the complementary colour of #DDA0DD?
#A0DDA0, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #225F22.
Should I use white or black text on #DDA0DD?
Black. White gives 2.07:1 and black 10.15:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DDA0DD?
cmyk(0%, 28%, 0%, 13%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #DDA0DD a named colour?
Yes: it is the CSS colour name "plum".