#eccefc
a pale, electric violet · warm · closest name: lavender
RGB
236, 206, 252
HSL
279°, 89%, 90%
CMYK
6, 18, 0, 1
Luminance
0.6900
Every format
| HEX | #eccefc |
| RGB | rgb(236, 206, 252) |
| HSL | hsl(279, 89%, 90%) |
| CMYK | cmyk(6%, 18%, 0%, 1%) |
| LAB | lab(86.5 18.6 -18.6) |
| LCH | lch(86.5 26.3 315.0) |
| OKLCH | oklch(0.891 0.070 313.9) |
Copy-ready code
/* CSS */
color: #eccefc;
background-color: #eccefc;
/* Tailwind (arbitrary) */
class="text-[#eccefc] bg-[#eccefc]"
/* SCSS */
$brand: #eccefc;
/* SwiftUI */
Color(red: 0.925, green: 0.808, blue: 0.988)
/* Android */
Color.parseColor("#eccefc")Accessibility — WCAG contrast
Aa
#eccefc on white: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccefc on black: 14.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.8%
Blue98.8%
CMYK percentages
Cyan6.3%
Magenta18.3%
Yellow0.0%
Key (black)1.2%
Color previews
#eccefc text on a black background
contrast 14.80:1
Card sample
#eccefc text on a white background
contrast 1.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccefc;
Background color
Panel with #eccefc background
background-color: #eccefc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccefc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 206, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 206, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccefc; background: linear-gradient(135deg, #eccefc, #FCCEED);