#ccace0
a light, vivid violet · warm · closest name: plum
RGB
204, 172, 224
HSL
277°, 46%, 78%
CMYK
9, 23, 0, 12
Luminance
0.4772
Every format
| HEX | #ccace0 |
| RGB | rgb(204, 172, 224) |
| HSL | hsl(277, 46%, 78%) |
| CMYK | cmyk(9%, 23%, 0%, 12%) |
| LAB | lab(74.7 21.1 -21.8) |
| LCH | lch(74.7 30.4 314.0) |
| OKLCH | oklch(0.790 0.080 312.2) |
Copy-ready code
/* CSS */
color: #ccace0;
background-color: #ccace0;
/* Tailwind (arbitrary) */
class="text-[#ccace0] bg-[#ccace0]"
/* SCSS */
$brand: #ccace0;
/* SwiftUI */
Color(red: 0.800, green: 0.675, blue: 0.878)
/* Android */
Color.parseColor("#ccace0")Accessibility — WCAG contrast
Aa
#ccace0 on white: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccace0 on black: 10.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green67.5%
Blue87.8%
CMYK percentages
Cyan8.9%
Magenta23.2%
Yellow0.0%
Key (black)12.2%
Color previews
#ccace0 text on a black background
contrast 10.54:1
Card sample
#ccace0 text on a white background
contrast 1.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccace0;
Background color
Panel with #ccace0 background
background-color: #ccace0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccace0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 172, 224, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 172, 224, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccace0; background: linear-gradient(135deg, #ccace0, #E0ACD1);