#cec7fd
a pale, electric blue · warm · closest name: lavender
RGB
206, 199, 253
HSL
248°, 93%, 89%
CMYK
19, 21, 0, 1
Luminance
0.6106
Every format
| HEX | #cec7fd |
| RGB | rgb(206, 199, 253) |
| HSL | hsl(248, 93%, 89%) |
| CMYK | cmyk(19%, 21%, 0%, 1%) |
| LAB | lab(82.4 13.2 -25.6) |
| LCH | lch(82.4 28.8 297.2) |
| OKLCH | oklch(0.853 0.075 290.7) |
Copy-ready code
/* CSS */
color: #cec7fd;
background-color: #cec7fd;
/* Tailwind (arbitrary) */
class="text-[#cec7fd] bg-[#cec7fd]"
/* SCSS */
$brand: #cec7fd;
/* SwiftUI */
Color(red: 0.808, green: 0.780, blue: 0.992)
/* Android */
Color.parseColor("#cec7fd")Accessibility — WCAG contrast
Aa
#cec7fd on white: 1.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec7fd on black: 13.21:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green78.0%
Blue99.2%
CMYK percentages
Cyan18.6%
Magenta21.3%
Yellow0.0%
Key (black)0.8%
Color previews
#cec7fd text on a black background
contrast 13.21:1
Card sample
#cec7fd text on a white background
contrast 1.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec7fd;
Background color
Panel with #cec7fd background
background-color: #cec7fd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec7fd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 199, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 199, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec7fd; background: linear-gradient(135deg, #cec7fd, #F2C7FD);