#cccbef
a pale, vivid blue · warm · closest name: lavender
RGB
204, 203, 239
HSL
242°, 53%, 87%
CMYK
15, 15, 0, 6
Luminance
0.6178
Every format
| HEX | #cccbef |
| RGB | rgb(204, 203, 239) |
| HSL | hsl(242, 53%, 87%) |
| CMYK | cmyk(15%, 15%, 0%, 6%) |
| LAB | lab(82.8 7.4 -17.6) |
| LCH | lch(82.8 19.1 292.8) |
| OKLCH | oklch(0.854 0.050 286.6) |
Copy-ready code
/* CSS */
color: #cccbef;
background-color: #cccbef;
/* Tailwind (arbitrary) */
class="text-[#cccbef] bg-[#cccbef]"
/* SCSS */
$brand: #cccbef;
/* SwiftUI */
Color(red: 0.800, green: 0.796, blue: 0.937)
/* Android */
Color.parseColor("#cccbef")Accessibility — WCAG contrast
Aa
#cccbef on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccbef on black: 13.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green79.6%
Blue93.7%
CMYK percentages
Cyan14.6%
Magenta15.1%
Yellow0.0%
Key (black)6.3%
Color previews
#cccbef text on a black background
contrast 13.36:1
Card sample
#cccbef text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccbef;
Background color
Panel with #cccbef background
background-color: #cccbef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccbef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 203, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 203, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccbef; background: linear-gradient(135deg, #cccbef, #E4CBEF);