#ece2ff
a pale, electric violet · warm · closest name: lavender
RGB
236, 226, 255
HSL
261°, 100%, 94%
CMYK
8, 11, 0, 0
Luminance
0.7945
Every format
| HEX | #ece2ff |
| RGB | rgb(236, 226, 255) |
| HSL | hsl(261, 100%, 94%) |
| CMYK | cmyk(8%, 11%, 0%, 0%) |
| LAB | lab(91.4 8.7 -12.8) |
| LCH | lch(91.4 15.5 304.1) |
| OKLCH | oklch(0.929 0.040 301.3) |
Copy-ready code
/* CSS */
color: #ece2ff;
background-color: #ece2ff;
/* Tailwind (arbitrary) */
class="text-[#ece2ff] bg-[#ece2ff]"
/* SCSS */
$brand: #ece2ff;
/* SwiftUI */
Color(red: 0.925, green: 0.886, blue: 1.000)
/* Android */
Color.parseColor("#ece2ff")Accessibility — WCAG contrast
Aa
#ece2ff on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ece2ff on black: 16.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green88.6%
Blue100.0%
CMYK percentages
Cyan7.5%
Magenta11.4%
Yellow0.0%
Key (black)0.0%
Color previews
#ece2ff text on a black background
contrast 16.89:1
Card sample
#ece2ff text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ece2ff;
Background color
Panel with #ece2ff background
background-color: #ece2ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ece2ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 226, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 226, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ece2ff; background: linear-gradient(135deg, #ece2ff, #FFE2FF);