#db4ffc
a balanced, electric violet · warm · closest name: magenta
RGB
219, 79, 252
HSL
289°, 97%, 65%
CMYK
13, 69, 0, 1
Luminance
0.2768
Every format
| HEX | #db4ffc |
| RGB | rgb(219, 79, 252) |
| HSL | hsl(289, 97%, 65%) |
| CMYK | cmyk(13%, 69%, 0%, 1%) |
| LAB | lab(59.6 76.6 -60.6) |
| LCH | lch(59.6 97.7 321.6) |
| OKLCH | oklch(0.685 0.261 319.3) |
Copy-ready code
/* CSS */
color: #db4ffc;
background-color: #db4ffc;
/* Tailwind (arbitrary) */
class="text-[#db4ffc] bg-[#db4ffc]"
/* SCSS */
$brand: #db4ffc;
/* SwiftUI */
Color(red: 0.859, green: 0.310, blue: 0.988)
/* Android */
Color.parseColor("#db4ffc")Accessibility — WCAG contrast
Aa
#db4ffc on white: 3.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#db4ffc on black: 6.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.9%
Green31.0%
Blue98.8%
CMYK percentages
Cyan13.1%
Magenta68.7%
Yellow0.0%
Key (black)1.2%
Color previews
#db4ffc text on a black background
contrast 6.54:1
Card sample
#db4ffc text on a white background
contrast 3.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #db4ffc;
Background color
Panel with #db4ffc background
background-color: #db4ffc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #db4ffc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(219, 79, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 79, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db4ffc; background: linear-gradient(135deg, #db4ffc, #FC4FAA);