#ac4ffc
a balanced, electric violet · warm · closest name: magenta
RGB
172, 79, 252
HSL
272°, 97%, 65%
CMYK
32, 69, 0, 1
Luminance
0.2139
Every format
| HEX | #ac4ffc |
| RGB | rgb(172, 79, 252) |
| HSL | hsl(272, 97%, 65%) |
| CMYK | cmyk(32%, 69%, 0%, 1%) |
| LAB | lab(53.4 67.3 -71.0) |
| LCH | lch(53.4 97.8 313.5) |
| OKLCH | oklch(0.628 0.246 304.8) |
Copy-ready code
/* CSS */
color: #ac4ffc;
background-color: #ac4ffc;
/* Tailwind (arbitrary) */
class="text-[#ac4ffc] bg-[#ac4ffc]"
/* SCSS */
$brand: #ac4ffc;
/* SwiftUI */
Color(red: 0.675, green: 0.310, blue: 0.988)
/* Android */
Color.parseColor("#ac4ffc")Accessibility — WCAG contrast
Aa
#ac4ffc on white: 3.98:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac4ffc on black: 5.28:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green31.0%
Blue98.8%
CMYK percentages
Cyan31.7%
Magenta68.7%
Yellow0.0%
Key (black)1.2%
Color previews
#ac4ffc text on a black background
contrast 5.28:1
Card sample
#ac4ffc text on a white background
contrast 3.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac4ffc;
Background color
Panel with #ac4ffc background
background-color: #ac4ffc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac4ffc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 79, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 79, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac4ffc; background: linear-gradient(135deg, #ac4ffc, #FC4FD9);