#ac55ff
a light, electric violet · warm · closest name: slateblue
RGB
172, 85, 255
HSL
271°, 100%, 67%
CMYK
33, 67, 0, 0
Luminance
0.2249
Every format
| HEX | #ac55ff |
| RGB | rgb(172, 85, 255) |
| HSL | hsl(271, 100%, 67%) |
| CMYK | cmyk(33%, 67%, 0%, 0%) |
| LAB | lab(54.5 65.3 -70.8) |
| LCH | lch(54.5 96.3 312.7) |
| OKLCH | oklch(0.637 0.242 303.7) |
Copy-ready code
/* CSS */
color: #ac55ff;
background-color: #ac55ff;
/* Tailwind (arbitrary) */
class="text-[#ac55ff] bg-[#ac55ff]"
/* SCSS */
$brand: #ac55ff;
/* SwiftUI */
Color(red: 0.675, green: 0.333, blue: 1.000)
/* Android */
Color.parseColor("#ac55ff")Accessibility — WCAG contrast
Aa
#ac55ff on white: 3.82:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ac55ff on black: 5.50:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green33.3%
Blue100.0%
CMYK percentages
Cyan32.5%
Magenta66.7%
Yellow0.0%
Key (black)0.0%
Color previews
#ac55ff text on a black background
contrast 5.50:1
Card sample
#ac55ff text on a white background
contrast 3.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac55ff;
Background color
Panel with #ac55ff background
background-color: #ac55ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac55ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac55ff; background: linear-gradient(135deg, #ac55ff, #FF55E1);