#ac80fd
a light, electric violet · warm · closest name: slateblue
RGB
172, 128, 253
HSL
261°, 97%, 75%
CMYK
32, 49, 0, 1
Luminance
0.3130
Every format
| HEX | #ac80fd |
| RGB | rgb(172, 128, 253) |
| HSL | hsl(261, 97%, 75%) |
| CMYK | cmyk(32%, 49%, 0%, 1%) |
| LAB | lab(62.8 42.7 -56.5) |
| LCH | lch(62.8 70.8 307.1) |
| OKLCH | oklch(0.697 0.180 297.8) |
Copy-ready code
/* CSS */
color: #ac80fd;
background-color: #ac80fd;
/* Tailwind (arbitrary) */
class="text-[#ac80fd] bg-[#ac80fd]"
/* SCSS */
$brand: #ac80fd;
/* SwiftUI */
Color(red: 0.675, green: 0.502, blue: 0.992)
/* Android */
Color.parseColor("#ac80fd")Accessibility — WCAG contrast
Aa
#ac80fd on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac80fd on black: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green50.2%
Blue99.2%
CMYK percentages
Cyan32.0%
Magenta49.4%
Yellow0.0%
Key (black)0.8%
Color previews
#ac80fd text on a black background
contrast 7.26:1
Card sample
#ac80fd text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac80fd;
Background color
Panel with #ac80fd background
background-color: #ac80fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac80fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 128, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 128, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac80fd; background: linear-gradient(135deg, #ac80fd, #FD80FB);