#dfaff4
a light, electric violet · warm · closest name: plum
RGB
223, 175, 244
HSL
282°, 76%, 82%
CMYK
9, 28, 0, 4
Luminance
0.5288
Every format
| HEX | #dfaff4 |
| RGB | rgb(223, 175, 244) |
| HSL | hsl(282, 76%, 82%) |
| CMYK | cmyk(9%, 28%, 0%, 4%) |
| LAB | lab(77.8 29.5 -27.7) |
| LCH | lch(77.8 40.5 316.8) |
| OKLCH | oklch(0.820 0.107 315.4) |
Copy-ready code
/* CSS */
color: #dfaff4;
background-color: #dfaff4;
/* Tailwind (arbitrary) */
class="text-[#dfaff4] bg-[#dfaff4]"
/* SCSS */
$brand: #dfaff4;
/* SwiftUI */
Color(red: 0.875, green: 0.686, blue: 0.957)
/* Android */
Color.parseColor("#dfaff4")Accessibility — WCAG contrast
Aa
#dfaff4 on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfaff4 on black: 11.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green68.6%
Blue95.7%
CMYK percentages
Cyan8.6%
Magenta28.3%
Yellow0.0%
Key (black)4.3%
Color previews
#dfaff4 text on a black background
contrast 11.58:1
Card sample
#dfaff4 text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfaff4;
Background color
Panel with #dfaff4 background
background-color: #dfaff4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfaff4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 175, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 175, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfaff4; background: linear-gradient(135deg, #dfaff4, #F4AFDB);