#ad2fee
a balanced, electric violet · warm · closest name: magenta
RGB
173, 47, 238
HSL
280°, 85%, 56%
CMYK
27, 80, 0, 7
Luminance
0.1709
Every format
| HEX | #ad2fee |
| RGB | rgb(173, 47, 238) |
| HSL | hsl(280, 85%, 56%) |
| CMYK | cmyk(27%, 80%, 0%, 7%) |
| LAB | lab(48.4 76.3 -71.3) |
| LCH | lch(48.4 104.4 317.0) |
| OKLCH | oklch(0.590 0.265 310.3) |
Copy-ready code
/* CSS */
color: #ad2fee;
background-color: #ad2fee;
/* Tailwind (arbitrary) */
class="text-[#ad2fee] bg-[#ad2fee]"
/* SCSS */
$brand: #ad2fee;
/* SwiftUI */
Color(red: 0.678, green: 0.184, blue: 0.933)
/* Android */
Color.parseColor("#ad2fee")Accessibility — WCAG contrast
Aa
#ad2fee on white: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ad2fee on black: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.8%
Green18.4%
Blue93.3%
CMYK percentages
Cyan27.3%
Magenta80.3%
Yellow0.0%
Key (black)6.7%
Color previews
#ad2fee text on a black background
contrast 4.42:1
Card sample
#ad2fee text on a white background
contrast 4.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ad2fee;
Background color
Panel with #ad2fee background
background-color: #ad2fee;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ad2fee;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(173, 47, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 47, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad2fee; background: linear-gradient(135deg, #ad2fee, #EE2FB0);