#ccb3eb
a light, vivid violet · warm · closest name: plum
RGB
204, 179, 235
HSL
267°, 58%, 81%
CMYK
13, 24, 0, 8
Luminance
0.5108
Every format
| HEX | #ccb3eb |
| RGB | rgb(204, 179, 235) |
| HSL | hsl(267, 58%, 81%) |
| CMYK | cmyk(13%, 24%, 0%, 8%) |
| LAB | lab(76.7 19.5 -24.6) |
| LCH | lch(76.7 31.4 308.4) |
| OKLCH | oklch(0.807 0.082 305.0) |
Copy-ready code
/* CSS */
color: #ccb3eb;
background-color: #ccb3eb;
/* Tailwind (arbitrary) */
class="text-[#ccb3eb] bg-[#ccb3eb]"
/* SCSS */
$brand: #ccb3eb;
/* SwiftUI */
Color(red: 0.800, green: 0.702, blue: 0.922)
/* Android */
Color.parseColor("#ccb3eb")Accessibility — WCAG contrast
Aa
#ccb3eb on white: 1.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb3eb on black: 11.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green70.2%
Blue92.2%
CMYK percentages
Cyan13.2%
Magenta23.8%
Yellow0.0%
Key (black)7.8%
Color previews
#ccb3eb text on a black background
contrast 11.22:1
Card sample
#ccb3eb text on a white background
contrast 1.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb3eb;
Background color
Panel with #ccb3eb background
background-color: #ccb3eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb3eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 179, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 179, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb3eb; background: linear-gradient(135deg, #ccb3eb, #EBB3E5);