#dfbef8
a pale, electric violet · warm · closest name: plum
RGB
223, 190, 248
HSL
274°, 81%, 86%
CMYK
10, 23, 0, 3
Luminance
0.5929
Every format
| HEX | #dfbef8 |
| RGB | rgb(223, 190, 248) |
| HSL | hsl(274, 81%, 86%) |
| CMYK | cmyk(10%, 23%, 0%, 3%) |
| LAB | lab(81.5 22.2 -24.3) |
| LCH | lch(81.5 32.9 312.5) |
| OKLCH | oklch(0.849 0.086 310.3) |
Copy-ready code
/* CSS */
color: #dfbef8;
background-color: #dfbef8;
/* Tailwind (arbitrary) */
class="text-[#dfbef8] bg-[#dfbef8]"
/* SCSS */
$brand: #dfbef8;
/* SwiftUI */
Color(red: 0.875, green: 0.745, blue: 0.973)
/* Android */
Color.parseColor("#dfbef8")Accessibility — WCAG contrast
Aa
#dfbef8 on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfbef8 on black: 12.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green74.5%
Blue97.3%
CMYK percentages
Cyan10.1%
Magenta23.4%
Yellow0.0%
Key (black)2.7%
Color previews
#dfbef8 text on a black background
contrast 12.86:1
Card sample
#dfbef8 text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfbef8;
Background color
Panel with #dfbef8 background
background-color: #dfbef8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfbef8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 190, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 190, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfbef8; background: linear-gradient(135deg, #dfbef8, #F8BEEA);