#ddabdd
a light, soft magenta / pink · warm · closest name: plum
RGB
221, 171, 221
HSL
300°, 42%, 77%
CMYK
0, 23, 0, 13
Luminance
0.4972
Every format
| HEX | #ddabdd |
| RGB | rgb(221, 171, 221) |
| HSL | hsl(300, 42%, 77%) |
| CMYK | cmyk(0%, 23%, 0%, 13%) |
| LAB | lab(75.9 26.6 -18.2) |
| LCH | lch(75.9 32.2 325.7) |
| OKLCH | oklch(0.803 0.088 326.4) |
Copy-ready code
/* CSS */
color: #ddabdd;
background-color: #ddabdd;
/* Tailwind (arbitrary) */
class="text-[#ddabdd] bg-[#ddabdd]"
/* SCSS */
$brand: #ddabdd;
/* SwiftUI */
Color(red: 0.867, green: 0.671, blue: 0.867)
/* Android */
Color.parseColor("#ddabdd")Accessibility — WCAG contrast
Aa
#ddabdd on white: 1.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ddabdd on black: 10.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red86.7%
Green67.1%
Blue86.7%
CMYK percentages
Cyan0.0%
Magenta22.6%
Yellow0.0%
Key (black)13.3%
Color previews
#ddabdd text on a black background
contrast 10.94:1
Card sample
#ddabdd text on a white background
contrast 1.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ddabdd;
Background color
Panel with #ddabdd background
background-color: #ddabdd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ddabdd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(221, 171, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 171, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ddabdd; background: linear-gradient(135deg, #ddabdd, #DDABBC);