#e3dfec
a pale, soft violet · warm · closest name: lavender
RGB
227, 223, 236
HSL
259°, 26%, 90%
CMYK
4, 6, 0, 8
Luminance
0.7516
Every format
| HEX | #e3dfec |
| RGB | rgb(227, 223, 236) |
| HSL | hsl(259, 26%, 90%) |
| CMYK | cmyk(4%, 6%, 0%, 8%) |
| LAB | lab(89.5 3.7 -5.8) |
| LCH | lch(89.5 6.9 302.4) |
| OKLCH | oklch(0.911 0.018 300.0) |
Copy-ready code
/* CSS */
color: #e3dfec;
background-color: #e3dfec;
/* Tailwind (arbitrary) */
class="text-[#e3dfec] bg-[#e3dfec]"
/* SCSS */
$brand: #e3dfec;
/* SwiftUI */
Color(red: 0.890, green: 0.875, blue: 0.925)
/* Android */
Color.parseColor("#e3dfec")Accessibility — WCAG contrast
Aa
#e3dfec on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e3dfec on black: 16.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red89.0%
Green87.5%
Blue92.5%
CMYK percentages
Cyan3.8%
Magenta5.5%
Yellow0.0%
Key (black)7.5%
Color previews
#e3dfec text on a black background
contrast 16.03:1
Card sample
#e3dfec text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e3dfec;
Background color
Panel with #e3dfec background
background-color: #e3dfec;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e3dfec;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(227, 223, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(227, 223, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e3dfec; background: linear-gradient(135deg, #e3dfec, #ECDFEC);