#ccb2fe
a light, electric violet · warm · closest name: plum
RGB
204, 178, 254
HSL
261°, 97%, 85%
CMYK
20, 30, 0, 0
Luminance
0.5183
Every format
| HEX | #ccb2fe |
| RGB | rgb(204, 178, 254) |
| HSL | hsl(261, 97%, 85%) |
| CMYK | cmyk(20%, 30%, 0%, 0%) |
| LAB | lab(77.2 24.2 -34.2) |
| LCH | lch(77.2 41.9 305.3) |
| OKLCH | oklch(0.813 0.108 299.7) |
Copy-ready code
/* CSS */
color: #ccb2fe;
background-color: #ccb2fe;
/* Tailwind (arbitrary) */
class="text-[#ccb2fe] bg-[#ccb2fe]"
/* SCSS */
$brand: #ccb2fe;
/* SwiftUI */
Color(red: 0.800, green: 0.698, blue: 0.996)
/* Android */
Color.parseColor("#ccb2fe")Accessibility — WCAG contrast
Aa
#ccb2fe on white: 1.85:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb2fe on black: 11.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green69.8%
Blue99.6%
CMYK percentages
Cyan19.7%
Magenta29.9%
Yellow0.0%
Key (black)0.4%
Color previews
#ccb2fe text on a black background
contrast 11.37:1
Card sample
#ccb2fe text on a white background
contrast 1.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb2fe;
Background color
Panel with #ccb2fe background
background-color: #ccb2fe;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb2fe;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 178, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 178, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb2fe; background: linear-gradient(135deg, #ccb2fe, #FEB2FD);