#cccffa
a pale, electric blue · warm · closest name: lavender
RGB
204, 207, 250
HSL
236°, 82%, 89%
CMYK
18, 17, 0, 2
Luminance
0.6437
Every format
| HEX | #cccffa |
| RGB | rgb(204, 207, 250) |
| HSL | hsl(236, 82%, 89%) |
| CMYK | cmyk(18%, 17%, 0%, 2%) |
| LAB | lab(84.2 7.6 -21.4) |
| LCH | lch(84.2 22.7 289.6) |
| OKLCH | oklch(0.866 0.059 281.9) |
Copy-ready code
/* CSS */
color: #cccffa;
background-color: #cccffa;
/* Tailwind (arbitrary) */
class="text-[#cccffa] bg-[#cccffa]"
/* SCSS */
$brand: #cccffa;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.980)
/* Android */
Color.parseColor("#cccffa")Accessibility — WCAG contrast
Aa
#cccffa on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccffa on black: 13.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue98.0%
CMYK percentages
Cyan18.4%
Magenta17.2%
Yellow0.0%
Key (black)2.0%
Color previews
#cccffa text on a black background
contrast 13.87:1
Card sample
#cccffa text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccffa;
Background color
Panel with #cccffa background
background-color: #cccffa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccffa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccffa; background: linear-gradient(135deg, #cccffa, #E8CCFA);