#ccc1eb
a light, vivid violet · warm · closest name: lavender
RGB
204, 193, 235
HSL
256°, 51%, 84%
CMYK
13, 18, 0, 8
Luminance
0.5698
Every format
| HEX | #ccc1eb |
| RGB | rgb(204, 193, 235) |
| HSL | hsl(256, 51%, 84%) |
| CMYK | cmyk(13%, 18%, 0%, 8%) |
| LAB | lab(80.2 11.9 -19.4) |
| LCH | lch(80.2 22.8 301.6) |
| OKLCH | oklch(0.834 0.059 297.1) |
Copy-ready code
/* CSS */
color: #ccc1eb;
background-color: #ccc1eb;
/* Tailwind (arbitrary) */
class="text-[#ccc1eb] bg-[#ccc1eb]"
/* SCSS */
$brand: #ccc1eb;
/* SwiftUI */
Color(red: 0.800, green: 0.757, blue: 0.922)
/* Android */
Color.parseColor("#ccc1eb")Accessibility — WCAG contrast
Aa
#ccc1eb on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc1eb on black: 12.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green75.7%
Blue92.2%
CMYK percentages
Cyan13.2%
Magenta17.9%
Yellow0.0%
Key (black)7.8%
Color previews
#ccc1eb text on a black background
contrast 12.40:1
Card sample
#ccc1eb text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc1eb;
Background color
Panel with #ccc1eb background
background-color: #ccc1eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc1eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 193, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 193, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc1eb; background: linear-gradient(135deg, #ccc1eb, #E8C1EB);