#df4afd
a balanced, electric violet · warm · closest name: magenta
RGB
223, 74, 253
HSL
290°, 98%, 64%
CMYK
12, 71, 0, 1
Luminance
0.2768
Every format
| HEX | #df4afd |
| RGB | rgb(223, 74, 253) |
| HSL | hsl(290, 98%, 64%) |
| CMYK | cmyk(12%, 71%, 0%, 1%) |
| LAB | lab(59.6 79.4 -61.2) |
| LCH | lch(59.6 100.2 322.4) |
| OKLCH | oklch(0.687 0.268 320.4) |
Copy-ready code
/* CSS */
color: #df4afd;
background-color: #df4afd;
/* Tailwind (arbitrary) */
class="text-[#df4afd] bg-[#df4afd]"
/* SCSS */
$brand: #df4afd;
/* SwiftUI */
Color(red: 0.875, green: 0.290, blue: 0.992)
/* Android */
Color.parseColor("#df4afd")Accessibility — WCAG contrast
Aa
#df4afd on white: 3.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#df4afd on black: 6.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green29.0%
Blue99.2%
CMYK percentages
Cyan11.9%
Magenta70.8%
Yellow0.0%
Key (black)0.8%
Color previews
#df4afd text on a black background
contrast 6.54:1
Card sample
#df4afd text on a white background
contrast 3.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df4afd;
Background color
Panel with #df4afd background
background-color: #df4afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df4afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 74, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 74, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df4afd; background: linear-gradient(135deg, #df4afd, #FD4AA4);