#cccdf2
a pale, vivid blue · warm · closest name: lavender
RGB
204, 205, 242
HSL
238°, 59%, 88%
CMYK
16, 15, 0, 5
Luminance
0.6291
Every format
| HEX | #cccdf2 |
| RGB | rgb(204, 205, 242) |
| HSL | hsl(238, 59%, 88%) |
| CMYK | cmyk(16%, 15%, 0%, 5%) |
| LAB | lab(83.4 7.0 -18.3) |
| LCH | lch(83.4 19.6 290.9) |
| OKLCH | oklch(0.859 0.051 284.0) |
Copy-ready code
/* CSS */
color: #cccdf2;
background-color: #cccdf2;
/* Tailwind (arbitrary) */
class="text-[#cccdf2] bg-[#cccdf2]"
/* SCSS */
$brand: #cccdf2;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.949)
/* Android */
Color.parseColor("#cccdf2")Accessibility — WCAG contrast
Aa
#cccdf2 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccdf2 on black: 13.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue94.9%
CMYK percentages
Cyan15.7%
Magenta15.3%
Yellow0.0%
Key (black)5.1%
Color previews
#cccdf2 text on a black background
contrast 13.58:1
Card sample
#cccdf2 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccdf2;
Background color
Panel with #cccdf2 background
background-color: #cccdf2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccdf2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccdf2; background: linear-gradient(135deg, #cccdf2, #E4CCF2);