#cec8ff
a pale, electric blue · warm · closest name: lavender
RGB
206, 200, 255
HSL
247°, 100%, 89%
CMYK
19, 22, 0, 0
Luminance
0.6165
Every format
| HEX | #cec8ff |
| RGB | rgb(206, 200, 255) |
| HSL | hsl(247, 100%, 89%) |
| CMYK | cmyk(19%, 22%, 0%, 0%) |
| LAB | lab(82.7 13.1 -26.2) |
| LCH | lch(82.7 29.3 296.5) |
| OKLCH | oklch(0.856 0.076 289.7) |
Copy-ready code
/* CSS */
color: #cec8ff;
background-color: #cec8ff;
/* Tailwind (arbitrary) */
class="text-[#cec8ff] bg-[#cec8ff]"
/* SCSS */
$brand: #cec8ff;
/* SwiftUI */
Color(red: 0.808, green: 0.784, blue: 1.000)
/* Android */
Color.parseColor("#cec8ff")Accessibility — WCAG contrast
Aa
#cec8ff on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec8ff on black: 13.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green78.4%
Blue100.0%
CMYK percentages
Cyan19.2%
Magenta21.6%
Yellow0.0%
Key (black)0.0%
Color previews
#cec8ff text on a black background
contrast 13.33:1
Card sample
#cec8ff text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec8ff;
Background color
Panel with #cec8ff background
background-color: #cec8ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec8ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 200, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 200, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec8ff; background: linear-gradient(135deg, #cec8ff, #F3C8FF);