#ac32ff
a balanced, electric violet · warm · closest name: magenta
RGB
172, 50, 255
HSL
276°, 100%, 60%
CMYK
33, 80, 0, 0
Luminance
0.1827
Every format
| HEX | #ac32ff |
| RGB | rgb(172, 50, 255) |
| HSL | hsl(276, 100%, 60%) |
| CMYK | cmyk(33%, 80%, 0%, 0%) |
| LAB | lab(49.8 78.7 -78.4) |
| LCH | lch(49.8 111.1 315.1) |
| OKLCH | oklch(0.604 0.277 306.3) |
Copy-ready code
/* CSS */
color: #ac32ff;
background-color: #ac32ff;
/* Tailwind (arbitrary) */
class="text-[#ac32ff] bg-[#ac32ff]"
/* SCSS */
$brand: #ac32ff;
/* SwiftUI */
Color(red: 0.675, green: 0.196, blue: 1.000)
/* Android */
Color.parseColor("#ac32ff")Accessibility — WCAG contrast
Aa
#ac32ff on white: 4.51:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac32ff on black: 4.65:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green19.6%
Blue100.0%
CMYK percentages
Cyan32.5%
Magenta80.4%
Yellow0.0%
Key (black)0.0%
Color previews
#ac32ff text on a black background
contrast 4.65:1
Card sample
#ac32ff text on a white background
contrast 4.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac32ff;
Background color
Panel with #ac32ff background
background-color: #ac32ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac32ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 50, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 50, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac32ff; background: linear-gradient(135deg, #ac32ff, #FF32C9);