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