#d9b8ff
a pale, electric violet · warm · closest name: plum
RGB
217, 184, 255
HSL
268°, 100%, 86%
CMYK
15, 28, 0, 0
Luminance
0.5625
Every format
| HEX | #d9b8ff |
| RGB | rgb(217, 184, 255) |
| HSL | hsl(268, 100%, 86%) |
| CMYK | cmyk(15%, 28%, 0%, 0%) |
| LAB | lab(79.8 25.1 -30.6) |
| LCH | lch(79.8 39.6 309.3) |
| OKLCH | oklch(0.835 0.103 305.5) |
Copy-ready code
/* CSS */
color: #d9b8ff;
background-color: #d9b8ff;
/* Tailwind (arbitrary) */
class="text-[#d9b8ff] bg-[#d9b8ff]"
/* SCSS */
$brand: #d9b8ff;
/* SwiftUI */
Color(red: 0.851, green: 0.722, blue: 1.000)
/* Android */
Color.parseColor("#d9b8ff")Accessibility — WCAG contrast
Aa
#d9b8ff on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d9b8ff on black: 12.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.1%
Green72.2%
Blue100.0%
CMYK percentages
Cyan14.9%
Magenta27.8%
Yellow0.0%
Key (black)0.0%
Color previews
#d9b8ff text on a black background
contrast 12.25:1
Card sample
#d9b8ff text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d9b8ff;
Background color
Panel with #d9b8ff background
background-color: #d9b8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d9b8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(217, 184, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 184, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d9b8ff; background: linear-gradient(135deg, #d9b8ff, #FFB8F6);