#ccc8db
a light, soft blue · warm · closest name: lavender
RGB
204, 200, 219
HSL
253°, 21%, 82%
CMYK
7, 9, 0, 14
Luminance
0.5926
Every format
| HEX | #ccc8db |
| RGB | rgb(204, 200, 219) |
| HSL | hsl(253, 21%, 82%) |
| CMYK | cmyk(7%, 9%, 0%, 14%) |
| LAB | lab(81.4 5.0 -8.9) |
| LCH | lch(81.4 10.2 299.0) |
| OKLCH | oklch(0.842 0.026 295.5) |
Copy-ready code
/* CSS */
color: #ccc8db;
background-color: #ccc8db;
/* Tailwind (arbitrary) */
class="text-[#ccc8db] bg-[#ccc8db]"
/* SCSS */
$brand: #ccc8db;
/* SwiftUI */
Color(red: 0.800, green: 0.784, blue: 0.859)
/* Android */
Color.parseColor("#ccc8db")Accessibility — WCAG contrast
Aa
#ccc8db on white: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc8db on black: 12.85:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.4%
Blue85.9%
CMYK percentages
Cyan6.8%
Magenta8.7%
Yellow0.0%
Key (black)14.1%
Color previews
#ccc8db text on a black background
contrast 12.85:1
Card sample
#ccc8db text on a white background
contrast 1.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc8db;
Background color
Panel with #ccc8db background
background-color: #ccc8db;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc8db;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 200, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 200, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc8db; background: linear-gradient(135deg, #ccc8db, #D9C8DB);