#ccb1eb
a light, vivid violet · warm · closest name: plum
RGB
204, 177, 235
HSL
268°, 59%, 81%
CMYK
13, 25, 0, 8
Luminance
0.5028
Every format
| HEX | #ccb1eb |
| RGB | rgb(204, 177, 235) |
| HSL | hsl(268, 59%, 81%) |
| CMYK | cmyk(13%, 25%, 0%, 8%) |
| LAB | lab(76.2 20.6 -25.4) |
| LCH | lch(76.2 32.7 309.1) |
| OKLCH | oklch(0.803 0.085 305.8) |
Copy-ready code
/* CSS */
color: #ccb1eb;
background-color: #ccb1eb;
/* Tailwind (arbitrary) */
class="text-[#ccb1eb] bg-[#ccb1eb]"
/* SCSS */
$brand: #ccb1eb;
/* SwiftUI */
Color(red: 0.800, green: 0.694, blue: 0.922)
/* Android */
Color.parseColor("#ccb1eb")Accessibility — WCAG contrast
Aa
#ccb1eb on white: 1.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb1eb on black: 11.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green69.4%
Blue92.2%
CMYK percentages
Cyan13.2%
Magenta24.7%
Yellow0.0%
Key (black)7.8%
Color previews
#ccb1eb text on a black background
contrast 11.06:1
Card sample
#ccb1eb text on a white background
contrast 1.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb1eb;
Background color
Panel with #ccb1eb background
background-color: #ccb1eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb1eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 177, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 177, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb1eb; background: linear-gradient(135deg, #ccb1eb, #EBB1E3);