#dfaff9
a light, electric violet · warm · closest name: plum
RGB
223, 175, 249
HSL
279°, 86%, 83%
CMYK
10, 30, 0, 2
Luminance
0.5319
Every format
| HEX | #dfaff9 |
| RGB | rgb(223, 175, 249) |
| HSL | hsl(279, 86%, 83%) |
| CMYK | cmyk(10%, 30%, 0%, 2%) |
| LAB | lab(78.0 30.5 -30.1) |
| LCH | lch(78.0 42.9 315.4) |
| OKLCH | oklch(0.822 0.113 313.4) |
Copy-ready code
/* CSS */
color: #dfaff9;
background-color: #dfaff9;
/* Tailwind (arbitrary) */
class="text-[#dfaff9] bg-[#dfaff9]"
/* SCSS */
$brand: #dfaff9;
/* SwiftUI */
Color(red: 0.875, green: 0.686, blue: 0.976)
/* Android */
Color.parseColor("#dfaff9")Accessibility — WCAG contrast
Aa
#dfaff9 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#dfaff9 on black: 11.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green68.6%
Blue97.6%
CMYK percentages
Cyan10.4%
Magenta29.7%
Yellow0.0%
Key (black)2.4%
Color previews
#dfaff9 text on a black background
contrast 11.64:1
Card sample
#dfaff9 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #dfaff9;
Background color
Panel with #dfaff9 background
background-color: #dfaff9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #dfaff9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 175, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 175, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dfaff9; background: linear-gradient(135deg, #dfaff9, #F9AFE2);