#dfbef7
a pale, electric violet · warm · closest name: plum
RGB
223, 190, 247
HSL
275°, 78%, 86%
CMYK
10, 23, 0, 3
Luminance
0.5923
Every format
| HEX | #dfbef7 |
| RGB | rgb(223, 190, 247) |
| HSL | hsl(275, 78%, 86%) |
| CMYK | cmyk(10%, 23%, 0%, 3%) |
| LAB | lab(81.4 22.0 -23.8) |
| LCH | lch(81.4 32.4 312.8) |
| OKLCH | oklch(0.848 0.085 310.7) |
Copy-ready code
/* CSS */
color: #dfbef7;
background-color: #dfbef7;
/* Tailwind (arbitrary) */
class="text-[#dfbef7] bg-[#dfbef7]"
/* SCSS */
$brand: #dfbef7;
/* SwiftUI */
Color(red: 0.875, green: 0.745, blue: 0.969)
/* Android */
Color.parseColor("#dfbef7")Accessibility — WCAG contrast
Aa
#dfbef7 on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbef7 on black: 12.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green74.5%
Blue96.9%
CMYK percentages
Cyan9.7%
Magenta23.1%
Yellow0.0%
Key (black)3.1%
Color previews
#dfbef7 text on a black background
contrast 12.85:1
Card sample
#dfbef7 text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbef7;
Background color
Panel with #dfbef7 background
background-color: #dfbef7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbef7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 190, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 190, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbef7; background: linear-gradient(135deg, #dfbef7, #F7BEE9);