#ac8ac4
a light, soft violet · warm · closest name: plum
RGB
172, 138, 196
HSL
275°, 33%, 66%
CMYK
12, 30, 0, 23
Luminance
0.3093
Every format
| HEX | #ac8ac4 |
| RGB | rgb(172, 138, 196) |
| HSL | hsl(275, 33%, 66%) |
| CMYK | cmyk(12%, 30%, 0%, 23%) |
| LAB | lab(62.5 23.8 -25.3) |
| LCH | lch(62.5 34.7 313.3) |
| OKLCH | oklch(0.686 0.091 310.8) |
Copy-ready code
/* CSS */
color: #ac8ac4;
background-color: #ac8ac4;
/* Tailwind (arbitrary) */
class="text-[#ac8ac4] bg-[#ac8ac4]"
/* SCSS */
$brand: #ac8ac4;
/* SwiftUI */
Color(red: 0.675, green: 0.541, blue: 0.769)
/* Android */
Color.parseColor("#ac8ac4")Accessibility — WCAG contrast
Aa
#ac8ac4 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac8ac4 on black: 7.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green54.1%
Blue76.9%
CMYK percentages
Cyan12.2%
Magenta29.6%
Yellow0.0%
Key (black)23.1%
Color previews
#ac8ac4 text on a black background
contrast 7.19:1
Card sample
#ac8ac4 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac8ac4;
Background color
Panel with #ac8ac4 background
background-color: #ac8ac4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac8ac4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 138, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 138, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac8ac4; background: linear-gradient(135deg, #ac8ac4, #C48AB5);