#db46ff
a balanced, electric violet · warm · closest name: magenta
RGB
219, 70, 255
HSL
288°, 100%, 64%
CMYK
14, 73, 0, 0
Luminance
0.2666
Every format
| HEX | #db46ff |
| RGB | rgb(219, 70, 255) |
| HSL | hsl(288, 100%, 64%) |
| CMYK | cmyk(14%, 73%, 0%, 0%) |
| LAB | lab(58.7 80.3 -63.8) |
| LCH | lch(58.7 102.6 321.5) |
| OKLCH | oklch(0.679 0.273 318.9) |
Copy-ready code
/* CSS */
color: #db46ff;
background-color: #db46ff;
/* Tailwind (arbitrary) */
class="text-[#db46ff] bg-[#db46ff]"
/* SCSS */
$brand: #db46ff;
/* SwiftUI */
Color(red: 0.859, green: 0.275, blue: 1.000)
/* Android */
Color.parseColor("#db46ff")Accessibility — WCAG contrast
Aa
#db46ff on white: 3.32:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#db46ff on black: 6.33:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.9%
Green27.5%
Blue100.0%
CMYK percentages
Cyan14.1%
Magenta72.5%
Yellow0.0%
Key (black)0.0%
Color previews
#db46ff text on a black background
contrast 6.33:1
Card sample
#db46ff text on a white background
contrast 3.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #db46ff;
Background color
Panel with #db46ff background
background-color: #db46ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #db46ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(219, 70, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 70, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db46ff; background: linear-gradient(135deg, #db46ff, #FF46A8);