#ecdfef
a pale, soft violet · warm · closest name: lavender
RGB
236, 223, 239
HSL
289°, 33%, 91%
CMYK
1, 7, 0, 6
Luminance
0.7684
Every format
| HEX | #ecdfef |
| RGB | rgb(236, 223, 239) |
| HSL | hsl(289, 33%, 91%) |
| CMYK | cmyk(1%, 7%, 0%, 6%) |
| LAB | lab(90.3 7.3 -6.2) |
| LCH | lch(90.3 9.5 319.5) |
| OKLCH | oklch(0.919 0.025 319.9) |
Copy-ready code
/* CSS */
color: #ecdfef;
background-color: #ecdfef;
/* Tailwind (arbitrary) */
class="text-[#ecdfef] bg-[#ecdfef]"
/* SCSS */
$brand: #ecdfef;
/* SwiftUI */
Color(red: 0.925, green: 0.875, blue: 0.937)
/* Android */
Color.parseColor("#ecdfef")Accessibility — WCAG contrast
Aa
#ecdfef on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ecdfef on black: 16.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green87.5%
Blue93.7%
CMYK percentages
Cyan1.3%
Magenta6.7%
Yellow0.0%
Key (black)6.3%
Color previews
#ecdfef text on a black background
contrast 16.37:1
Card sample
#ecdfef text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ecdfef;
Background color
Panel with #ecdfef background
background-color: #ecdfef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ecdfef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 223, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 223, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecdfef; background: linear-gradient(135deg, #ecdfef, #EFDFE7);