#ad47ff
a balanced, electric violet · warm · closest name: magenta
RGB
173, 71, 255
HSL
273°, 100%, 64%
CMYK
32, 72, 0, 0
Luminance
0.2061
Every format
| HEX | #ad47ff |
| RGB | rgb(173, 71, 255) |
| HSL | hsl(273, 100%, 64%) |
| CMYK | cmyk(32%, 72%, 0%, 0%) |
| LAB | lab(52.5 71.5 -74.0) |
| LCH | lch(52.5 102.9 314.0) |
| OKLCH | oklch(0.623 0.258 305.2) |
Copy-ready code
/* CSS */
color: #ad47ff;
background-color: #ad47ff;
/* Tailwind (arbitrary) */
class="text-[#ad47ff] bg-[#ad47ff]"
/* SCSS */
$brand: #ad47ff;
/* SwiftUI */
Color(red: 0.678, green: 0.278, blue: 1.000)
/* Android */
Color.parseColor("#ad47ff")Accessibility — WCAG contrast
Aa
#ad47ff on white: 4.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ad47ff on black: 5.12:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green27.8%
Blue100.0%
CMYK percentages
Cyan32.2%
Magenta72.2%
Yellow0.0%
Key (black)0.0%
Color previews
#ad47ff text on a black background
contrast 5.12:1
Card sample
#ad47ff text on a white background
contrast 4.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad47ff;
Background color
Panel with #ad47ff background
background-color: #ad47ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad47ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 71, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 71, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad47ff; background: linear-gradient(135deg, #ad47ff, #FF47D6);