#d4b8ff
a pale, electric violet · warm · closest name: plum
RGB
212, 184, 255
HSL
264°, 100%, 86%
CMYK
17, 28, 0, 0
Luminance
0.5550
Every format
| HEX | #d4b8ff |
| RGB | rgb(212, 184, 255) |
| HSL | hsl(264, 100%, 86%) |
| CMYK | cmyk(17%, 28%, 0%, 0%) |
| LAB | lab(79.3 23.5 -31.4) |
| LCH | lch(79.3 39.2 306.9) |
| OKLCH | oklch(0.831 0.102 302.3) |
Copy-ready code
/* CSS */
color: #d4b8ff;
background-color: #d4b8ff;
/* Tailwind (arbitrary) */
class="text-[#d4b8ff] bg-[#d4b8ff]"
/* SCSS */
$brand: #d4b8ff;
/* SwiftUI */
Color(red: 0.831, green: 0.722, blue: 1.000)
/* Android */
Color.parseColor("#d4b8ff")Accessibility — WCAG contrast
Aa
#d4b8ff on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#d4b8ff on black: 12.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red83.1%
Green72.2%
Blue100.0%
CMYK percentages
Cyan16.9%
Magenta27.8%
Yellow0.0%
Key (black)0.0%
Color previews
#d4b8ff text on a black background
contrast 12.10:1
Card sample
#d4b8ff text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d4b8ff;
Background color
Panel with #d4b8ff background
background-color: #d4b8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d4b8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(212, 184, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 184, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4b8ff; background: linear-gradient(135deg, #d4b8ff, #FFB8FB);