#ac59ff
a light, electric violet · warm · closest name: slateblue
RGB
172, 89, 255
HSL
270°, 100%, 68%
CMYK
33, 65, 0, 0
Luminance
0.2314
Every format
| HEX | #ac59ff |
| RGB | rgb(172, 89, 255) |
| HSL | hsl(270, 100%, 68%) |
| CMYK | cmyk(33%, 65%, 0%, 0%) |
| LAB | lab(55.2 63.4 -69.7) |
| LCH | lch(55.2 94.2 312.3) |
| OKLCH | oklch(0.642 0.237 303.3) |
Copy-ready code
/* CSS */
color: #ac59ff;
background-color: #ac59ff;
/* Tailwind (arbitrary) */
class="text-[#ac59ff] bg-[#ac59ff]"
/* SCSS */
$brand: #ac59ff;
/* SwiftUI */
Color(red: 0.675, green: 0.349, blue: 1.000)
/* Android */
Color.parseColor("#ac59ff")Accessibility — WCAG contrast
Aa
#ac59ff on white: 3.73:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac59ff on black: 5.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green34.9%
Blue100.0%
CMYK percentages
Cyan32.5%
Magenta65.1%
Yellow0.0%
Key (black)0.0%
Color previews
#ac59ff text on a black background
contrast 5.63:1
Card sample
#ac59ff text on a white background
contrast 3.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac59ff;
Background color
Panel with #ac59ff background
background-color: #ac59ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac59ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 89, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 89, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac59ff; background: linear-gradient(135deg, #ac59ff, #FF59E3);