#ccace8
a light, vivid violet · warm · closest name: plum
RGB
204, 172, 232
HSL
272°, 57%, 79%
CMYK
12, 26, 0, 9
Luminance
0.4817
Every format
| HEX | #ccace8 |
| RGB | rgb(204, 172, 232) |
| HSL | hsl(272, 57%, 79%) |
| CMYK | cmyk(12%, 26%, 0%, 9%) |
| LAB | lab(74.9 22.7 -25.8) |
| LCH | lch(74.9 34.3 311.4) |
| OKLCH | oklch(0.793 0.090 308.7) |
Copy-ready code
/* CSS */
color: #ccace8;
background-color: #ccace8;
/* Tailwind (arbitrary) */
class="text-[#ccace8] bg-[#ccace8]"
/* SCSS */
$brand: #ccace8;
/* SwiftUI */
Color(red: 0.800, green: 0.675, blue: 0.910)
/* Android */
Color.parseColor("#ccace8")Accessibility — WCAG contrast
Aa
#ccace8 on white: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccace8 on black: 10.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.5%
Blue91.0%
CMYK percentages
Cyan12.1%
Magenta25.9%
Yellow0.0%
Key (black)9.0%
Color previews
#ccace8 text on a black background
contrast 10.63:1
Card sample
#ccace8 text on a white background
contrast 1.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccace8;
Background color
Panel with #ccace8 background
background-color: #ccace8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccace8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 172, 232, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 172, 232, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccace8; background: linear-gradient(135deg, #ccace8, #E8ACDC);