#ae2fec
a balanced, electric violet · warm · closest name: magenta
RGB
174, 47, 236
HSL
280°, 83%, 56%
CMYK
26, 80, 0, 8
Luminance
0.1709
Every format
| HEX | #ae2fec |
| RGB | rgb(174, 47, 236) |
| HSL | hsl(280, 83%, 56%) |
| CMYK | cmyk(26%, 80%, 0%, 8%) |
| LAB | lab(48.4 76.1 -70.1) |
| LCH | lch(48.4 103.5 317.3) |
| OKLCH | oklch(0.590 0.264 311.0) |
Copy-ready code
/* CSS */
color: #ae2fec;
background-color: #ae2fec;
/* Tailwind (arbitrary) */
class="text-[#ae2fec] bg-[#ae2fec]"
/* SCSS */
$brand: #ae2fec;
/* SwiftUI */
Color(red: 0.682, green: 0.184, blue: 0.925)
/* Android */
Color.parseColor("#ae2fec")Accessibility — WCAG contrast
Aa
#ae2fec on white: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ae2fec on black: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green18.4%
Blue92.5%
CMYK percentages
Cyan26.3%
Magenta80.1%
Yellow0.0%
Key (black)7.5%
Color previews
#ae2fec text on a black background
contrast 4.42:1
Card sample
#ae2fec text on a white background
contrast 4.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae2fec;
Background color
Panel with #ae2fec background
background-color: #ae2fec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae2fec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 47, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 47, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae2fec; background: linear-gradient(135deg, #ae2fec, #EC2FAC);