#aa99cc
a light, soft violet · warm · closest name: plum
RGB
170, 153, 204
HSL
260°, 33%, 70%
CMYK
17, 25, 0, 20
Luminance
0.3569
Every format
| HEX | #aa99cc |
| RGB | rgb(170, 153, 204) |
| HSL | hsl(260, 33%, 70%) |
| CMYK | cmyk(17%, 25%, 0%, 20%) |
| LAB | lab(66.3 16.5 -23.9) |
| LCH | lch(66.3 29.0 304.6) |
| OKLCH | oklch(0.716 0.075 299.8) |
Copy-ready code
/* CSS */
color: #aa99cc;
background-color: #aa99cc;
/* Tailwind (arbitrary) */
class="text-[#aa99cc] bg-[#aa99cc]"
/* SCSS */
$brand: #aa99cc;
/* SwiftUI */
Color(red: 0.667, green: 0.600, blue: 0.800)
/* Android */
Color.parseColor("#aa99cc")Accessibility — WCAG contrast
Aa
#aa99cc on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aa99cc on black: 8.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green60.0%
Blue80.0%
CMYK percentages
Cyan16.7%
Magenta25.0%
Yellow0.0%
Key (black)20.0%
Color previews
#aa99cc text on a black background
contrast 8.14:1
Card sample
#aa99cc text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aa99cc;
Background color
Panel with #aa99cc background
background-color: #aa99cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aa99cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 153, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 153, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aa99cc; background: linear-gradient(135deg, #aa99cc, #CC99CC);