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