#ac89ff
a light, electric violet · warm · closest name: slateblue
RGB
172, 137, 255
HSL
258°, 100%, 77%
CMYK
33, 46, 0, 0
Luminance
0.3388
Every format
| HEX | #ac89ff |
| RGB | rgb(172, 137, 255) |
| HSL | hsl(258, 100%, 77%) |
| CMYK | cmyk(33%, 46%, 0%, 0%) |
| LAB | lab(64.9 38.2 -54.2) |
| LCH | lch(64.9 66.3 305.2) |
| OKLCH | oklch(0.713 0.169 295.5) |
Copy-ready code
/* CSS */
color: #ac89ff;
background-color: #ac89ff;
/* Tailwind (arbitrary) */
class="text-[#ac89ff] bg-[#ac89ff]"
/* SCSS */
$brand: #ac89ff;
/* SwiftUI */
Color(red: 0.675, green: 0.537, blue: 1.000)
/* Android */
Color.parseColor("#ac89ff")Accessibility — WCAG contrast
Aa
#ac89ff on white: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac89ff on black: 7.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green53.7%
Blue100.0%
CMYK percentages
Cyan32.5%
Magenta46.3%
Yellow0.0%
Key (black)0.0%
Color previews
#ac89ff text on a black background
contrast 7.78:1
Card sample
#ac89ff text on a white background
contrast 2.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac89ff;
Background color
Panel with #ac89ff background
background-color: #ac89ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac89ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 137, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 137, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac89ff; background: linear-gradient(135deg, #ac89ff, #FB89FF);