#ccc2db
a light, soft violet · warm · closest name: lavender
RGB
204, 194, 219
HSL
264°, 26%, 81%
CMYK
7, 11, 0, 14
Luminance
0.5654
Every format
| HEX | #ccc2db |
| RGB | rgb(204, 194, 219) |
| HSL | hsl(264, 26%, 81%) |
| CMYK | cmyk(7%, 11%, 0%, 14%) |
| LAB | lab(79.9 8.2 -11.2) |
| LCH | lch(79.9 13.8 306.1) |
| OKLCH | oklch(0.830 0.036 303.7) |
Copy-ready code
/* CSS */
color: #ccc2db;
background-color: #ccc2db;
/* Tailwind (arbitrary) */
class="text-[#ccc2db] bg-[#ccc2db]"
/* SCSS */
$brand: #ccc2db;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.859)
/* Android */
Color.parseColor("#ccc2db")Accessibility — WCAG contrast
Aa
#ccc2db on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc2db on black: 12.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue85.9%
CMYK percentages
Cyan6.8%
Magenta11.4%
Yellow0.0%
Key (black)14.1%
Color previews
#ccc2db text on a black background
contrast 12.31:1
Card sample
#ccc2db text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc2db;
Background color
Panel with #ccc2db background
background-color: #ccc2db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc2db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc2db; background: linear-gradient(135deg, #ccc2db, #DBC2D9);