#ac1cef
a balanced, electric violet · warm · closest name: magenta
RGB
172, 28, 239
HSL
281°, 87%, 52%
CMYK
28, 88, 0, 6
Luminance
0.1583
Every format
| HEX | #ac1cef |
| RGB | rgb(172, 28, 239) |
| HSL | hsl(281, 87%, 52%) |
| CMYK | cmyk(28%, 88%, 0%, 6%) |
| LAB | lab(46.8 80.9 -74.5) |
| LCH | lch(46.8 110.0 317.4) |
| OKLCH | oklch(0.578 0.278 310.5) |
Copy-ready code
/* CSS */
color: #ac1cef;
background-color: #ac1cef;
/* Tailwind (arbitrary) */
class="text-[#ac1cef] bg-[#ac1cef]"
/* SCSS */
$brand: #ac1cef;
/* SwiftUI */
Color(red: 0.675, green: 0.110, blue: 0.937)
/* Android */
Color.parseColor("#ac1cef")Accessibility — WCAG contrast
Aa
#ac1cef on white: 5.04:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac1cef on black: 4.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green11.0%
Blue93.7%
CMYK percentages
Cyan28.0%
Magenta88.3%
Yellow0.0%
Key (black)6.3%
Color previews
#ac1cef text on a black background
contrast 4.17:1
Card sample
#ac1cef text on a white background
contrast 5.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac1cef;
Background color
Panel with #ac1cef background
background-color: #ac1cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac1cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 28, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 28, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac1cef; background: linear-gradient(135deg, #ac1cef, #EF1CA6);