#e7ddf9
a pale, vivid violet · warm · closest name: lavender
RGB
231, 221, 249
HSL
261°, 70%, 92%
CMYK
7, 11, 0, 2
Luminance
0.7554
Every format
| HEX | #e7ddf9 |
| RGB | rgb(231, 221, 249) |
| HSL | hsl(261, 70%, 92%) |
| CMYK | cmyk(7%, 11%, 0%, 2%) |
| LAB | lab(89.7 8.5 -12.4) |
| LCH | lch(89.7 15.0 304.5) |
| OKLCH | oklch(0.914 0.039 301.9) |
Copy-ready code
/* CSS */
color: #e7ddf9;
background-color: #e7ddf9;
/* Tailwind (arbitrary) */
class="text-[#e7ddf9] bg-[#e7ddf9]"
/* SCSS */
$brand: #e7ddf9;
/* SwiftUI */
Color(red: 0.906, green: 0.867, blue: 0.976)
/* Android */
Color.parseColor("#e7ddf9")Accessibility — WCAG contrast
Aa
#e7ddf9 on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#e7ddf9 on black: 16.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red90.6%
Green86.7%
Blue97.6%
CMYK percentages
Cyan7.2%
Magenta11.2%
Yellow0.0%
Key (black)2.4%
Color previews
#e7ddf9 text on a black background
contrast 16.11:1
Card sample
#e7ddf9 text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #e7ddf9;
Background color
Panel with #e7ddf9 background
background-color: #e7ddf9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #e7ddf9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(231, 221, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 221, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7ddf9; background: linear-gradient(135deg, #e7ddf9, #F9DDF8);