#ccbaf1
a light, vivid violet · warm · closest name: plum
RGB
204, 186, 241
HSL
260°, 66%, 84%
CMYK
15, 23, 0, 6
Luminance
0.5431
Every format
| HEX | #ccbaf1 |
| RGB | rgb(204, 186, 241) |
| HSL | hsl(260, 66%, 84%) |
| CMYK | cmyk(15%, 23%, 0%, 6%) |
| LAB | lab(78.6 17.0 -24.9) |
| LCH | lch(78.6 30.2 304.2) |
| OKLCH | oklch(0.822 0.078 299.7) |
Copy-ready code
/* CSS */
color: #ccbaf1;
background-color: #ccbaf1;
/* Tailwind (arbitrary) */
class="text-[#ccbaf1] bg-[#ccbaf1]"
/* SCSS */
$brand: #ccbaf1;
/* SwiftUI */
Color(red: 0.800, green: 0.729, blue: 0.945)
/* Android */
Color.parseColor("#ccbaf1")Accessibility — WCAG contrast
Aa
#ccbaf1 on white: 1.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccbaf1 on black: 11.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green72.9%
Blue94.5%
CMYK percentages
Cyan15.4%
Magenta22.8%
Yellow0.0%
Key (black)5.5%
Color previews
#ccbaf1 text on a black background
contrast 11.86:1
Card sample
#ccbaf1 text on a white background
contrast 1.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccbaf1;
Background color
Panel with #ccbaf1 background
background-color: #ccbaf1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccbaf1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 186, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 186, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccbaf1; background: linear-gradient(135deg, #ccbaf1, #F1BAF1);