#ececfa
a pale, vivid blue · warm · closest name: lavender
RGB
236, 236, 250
HSL
240°, 58%, 95%
CMYK
6, 6, 0, 2
Luminance
0.8473
Every format
| HEX | #ececfa |
| RGB | rgb(236, 236, 250) |
| HSL | hsl(240, 58%, 95%) |
| CMYK | cmyk(6%, 6%, 0%, 2%) |
| LAB | lab(93.8 2.5 -6.7) |
| LCH | lch(93.8 7.2 290.7) |
| OKLCH | oklch(0.947 0.019 286.0) |
Copy-ready code
/* CSS */
color: #ececfa;
background-color: #ececfa;
/* Tailwind (arbitrary) */
class="text-[#ececfa] bg-[#ececfa]"
/* SCSS */
$brand: #ececfa;
/* SwiftUI */
Color(red: 0.925, green: 0.925, blue: 0.980)
/* Android */
Color.parseColor("#ececfa")Accessibility — WCAG contrast
Aa
#ececfa on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ececfa on black: 17.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.5%
Blue98.0%
CMYK percentages
Cyan5.6%
Magenta5.6%
Yellow0.0%
Key (black)2.0%
Color previews
#ececfa text on a black background
contrast 17.95:1
Card sample
#ececfa text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ececfa;
Background color
Panel with #ececfa background
background-color: #ececfa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ececfa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 236, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ececfa; background: linear-gradient(135deg, #ececfa, #F5ECFA);