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