#ccc9ff
a pale, electric blue · warm · closest name: lavender
RGB
204, 201, 255
HSL
243°, 100%, 89%
CMYK
20, 21, 0, 0
Luminance
0.6183
Every format
| HEX | #ccc9ff |
| RGB | rgb(204, 201, 255) |
| HSL | hsl(243, 100%, 89%) |
| CMYK | cmyk(20%, 21%, 0%, 0%) |
| LAB | lab(82.8 11.9 -26.1) |
| LCH | lch(82.8 28.6 294.6) |
| OKLCH | oklch(0.856 0.075 287.3) |
Copy-ready code
/* CSS */
color: #ccc9ff;
background-color: #ccc9ff;
/* Tailwind (arbitrary) */
class="text-[#ccc9ff] bg-[#ccc9ff]"
/* SCSS */
$brand: #ccc9ff;
/* SwiftUI */
Color(red: 0.800, green: 0.788, blue: 1.000)
/* Android */
Color.parseColor("#ccc9ff")Accessibility — WCAG contrast
Aa
#ccc9ff on white: 1.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc9ff on black: 13.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.8%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta21.2%
Yellow0.0%
Key (black)0.0%
Color previews
#ccc9ff text on a black background
contrast 13.37:1
Card sample
#ccc9ff text on a white background
contrast 1.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc9ff;
Background color
Panel with #ccc9ff background
background-color: #ccc9ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc9ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 201, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 201, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc9ff; background: linear-gradient(135deg, #ccc9ff, #F0C9FF);