#ae4fec
a balanced, electric violet · warm · closest name: slateblue
RGB
174, 79, 236
HSL
276°, 81%, 62%
CMYK
26, 67, 0, 8
Luminance
0.2065
Every format
| HEX | #ae4fec |
| RGB | rgb(174, 79, 236) |
| HSL | hsl(276, 81%, 62%) |
| CMYK | cmyk(26%, 67%, 0%, 8%) |
| LAB | lab(52.6 64.2 -63.4) |
| LCH | lch(52.6 90.2 315.4) |
| OKLCH | oklch(0.619 0.230 308.9) |
Copy-ready code
/* CSS */
color: #ae4fec;
background-color: #ae4fec;
/* Tailwind (arbitrary) */
class="text-[#ae4fec] bg-[#ae4fec]"
/* SCSS */
$brand: #ae4fec;
/* SwiftUI */
Color(red: 0.682, green: 0.310, blue: 0.925)
/* Android */
Color.parseColor("#ae4fec")Accessibility — WCAG contrast
Aa
#ae4fec on white: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ae4fec on black: 5.13:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green31.0%
Blue92.5%
CMYK percentages
Cyan26.3%
Magenta66.5%
Yellow0.0%
Key (black)7.5%
Color previews
#ae4fec text on a black background
contrast 5.13:1
Card sample
#ae4fec text on a white background
contrast 4.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae4fec;
Background color
Panel with #ae4fec background
background-color: #ae4fec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae4fec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 79, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 79, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae4fec; background: linear-gradient(135deg, #ae4fec, #EC4FC1);