#ccace2
a light, vivid violet · warm · closest name: plum
RGB
204, 172, 226
HSL
276°, 48%, 78%
CMYK
10, 24, 0, 11
Luminance
0.4783
Every format
| HEX | #ccace2 |
| RGB | rgb(204, 172, 226) |
| HSL | hsl(276, 48%, 78%) |
| CMYK | cmyk(10%, 24%, 0%, 11%) |
| LAB | lab(74.7 21.5 -22.8) |
| LCH | lch(74.7 31.3 313.3) |
| OKLCH | oklch(0.790 0.083 311.3) |
Copy-ready code
/* CSS */
color: #ccace2;
background-color: #ccace2;
/* Tailwind (arbitrary) */
class="text-[#ccace2] bg-[#ccace2]"
/* SCSS */
$brand: #ccace2;
/* SwiftUI */
Color(red: 0.800, green: 0.675, blue: 0.886)
/* Android */
Color.parseColor("#ccace2")Accessibility — WCAG contrast
Aa
#ccace2 on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccace2 on black: 10.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.5%
Blue88.6%
CMYK percentages
Cyan9.7%
Magenta23.9%
Yellow0.0%
Key (black)11.4%
Color previews
#ccace2 text on a black background
contrast 10.57:1
Card sample
#ccace2 text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccace2;
Background color
Panel with #ccace2 background
background-color: #ccace2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccace2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 172, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 172, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccace2; background: linear-gradient(135deg, #ccace2, #E2ACD4);