#ae3fec
a balanced, electric violet · warm · closest name: magenta
RGB
174, 63, 236
HSL
279°, 82%, 59%
CMYK
26, 73, 0, 8
Luminance
0.1861
Every format
| HEX | #ae3fec |
| RGB | rgb(174, 63, 236) |
| HSL | hsl(279, 82%, 59%) |
| CMYK | cmyk(26%, 73%, 0%, 8%) |
| LAB | lab(50.2 70.8 -67.1) |
| LCH | lch(50.2 97.5 316.5) |
| OKLCH | oklch(0.603 0.249 310.2) |
Copy-ready code
/* CSS */
color: #ae3fec;
background-color: #ae3fec;
/* Tailwind (arbitrary) */
class="text-[#ae3fec] bg-[#ae3fec]"
/* SCSS */
$brand: #ae3fec;
/* SwiftUI */
Color(red: 0.682, green: 0.247, blue: 0.925)
/* Android */
Color.parseColor("#ae3fec")Accessibility — WCAG contrast
Aa
#ae3fec on white: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ae3fec on black: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green24.7%
Blue92.5%
CMYK percentages
Cyan26.3%
Magenta73.3%
Yellow0.0%
Key (black)7.5%
Color previews
#ae3fec text on a black background
contrast 4.72:1
Card sample
#ae3fec text on a white background
contrast 4.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae3fec;
Background color
Panel with #ae3fec background
background-color: #ae3fec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae3fec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 63, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 63, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae3fec; background: linear-gradient(135deg, #ae3fec, #EC3FB7);