#ac9bc9
a light, soft violet · warm · closest name: plum
RGB
172, 155, 201
HSL
262°, 30%, 70%
CMYK
14, 23, 0, 21
Luminance
0.3643
Every format
| HEX | #ac9bc9 |
| RGB | rgb(172, 155, 201) |
| HSL | hsl(262, 30%, 70%) |
| CMYK | cmyk(14%, 23%, 0%, 21%) |
| LAB | lab(66.8 15.3 -21.3) |
| LCH | lch(66.8 26.3 305.7) |
| OKLCH | oklch(0.720 0.068 301.6) |
Copy-ready code
/* CSS */
color: #ac9bc9;
background-color: #ac9bc9;
/* Tailwind (arbitrary) */
class="text-[#ac9bc9] bg-[#ac9bc9]"
/* SCSS */
$brand: #ac9bc9;
/* SwiftUI */
Color(red: 0.675, green: 0.608, blue: 0.788)
/* Android */
Color.parseColor("#ac9bc9")Accessibility — WCAG contrast
Aa
#ac9bc9 on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ac9bc9 on black: 8.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green60.8%
Blue78.8%
CMYK percentages
Cyan14.4%
Magenta22.9%
Yellow0.0%
Key (black)21.2%
Color previews
#ac9bc9 text on a black background
contrast 8.29:1
Card sample
#ac9bc9 text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac9bc9;
Background color
Panel with #ac9bc9 background
background-color: #ac9bc9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac9bc9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 155, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 155, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac9bc9; background: linear-gradient(135deg, #ac9bc9, #C99BC7);