#ac76ff
a light, electric violet · warm · closest name: slateblue
RGB
172, 118, 255
HSL
264°, 100%, 73%
CMYK
33, 54, 0, 0
Luminance
0.2895
Every format
| HEX | #ac76ff |
| RGB | rgb(172, 118, 255) |
| HSL | hsl(264, 100%, 73%) |
| CMYK | cmyk(33%, 54%, 0%, 0%) |
| LAB | lab(60.7 48.7 -60.8) |
| LCH | lch(60.7 77.9 308.7) |
| OKLCH | oklch(0.682 0.197 299.3) |
Copy-ready code
/* CSS */
color: #ac76ff;
background-color: #ac76ff;
/* Tailwind (arbitrary) */
class="text-[#ac76ff] bg-[#ac76ff]"
/* SCSS */
$brand: #ac76ff;
/* SwiftUI */
Color(red: 0.675, green: 0.463, blue: 1.000)
/* Android */
Color.parseColor("#ac76ff")Accessibility — WCAG contrast
Aa
#ac76ff on white: 3.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac76ff on black: 6.79:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green46.3%
Blue100.0%
CMYK percentages
Cyan32.5%
Magenta53.7%
Yellow0.0%
Key (black)0.0%
Color previews
#ac76ff text on a black background
contrast 6.79:1
Card sample
#ac76ff text on a white background
contrast 3.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac76ff;
Background color
Panel with #ac76ff background
background-color: #ac76ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac76ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 118, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 118, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac76ff; background: linear-gradient(135deg, #ac76ff, #FF76F7);