Skip to content

#e2ddf0

a pale, soft violet · warm · closest name: lavender

RGB
226, 221, 240
HSL
256°, 39%, 90%
CMYK
6, 8, 0, 6
Luminance
0.7417

Every format

HEX#e2ddf0
RGBrgb(226, 221, 240)
HSLhsl(256, 39%, 90%)
CMYKcmyk(6%, 8%, 0%, 6%)
LABlab(89.0 5.2 -8.7)
LCHlch(89.0 10.1 300.9)
OKLCHoklch(0.907 0.026 297.9)

Copy-ready code

/* CSS */
color: #e2ddf0;
background-color: #e2ddf0;
/* Tailwind (arbitrary) */
class="text-[#e2ddf0] bg-[#e2ddf0]"
/* SCSS */
$brand: #e2ddf0;
/* SwiftUI */
Color(red: 0.886, green: 0.867, blue: 0.941)
/* Android */
Color.parseColor("#e2ddf0")

Accessibility — WCAG contrast

Aa
#e2ddf0 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#e2ddf0 on black: 15.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green86.7%
Blue94.1%

CMYK percentages

Cyan5.8%
Magenta7.9%
Yellow0.0%
Key (black)5.9%

Color previews

#e2ddf0 text on a black background

contrast 15.83:1

Card sample

#e2ddf0 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e2ddf0;
Background color
Panel with #e2ddf0 background
background-color: #e2ddf0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e2ddf0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(226, 221, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 221, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2ddf0;
background: linear-gradient(135deg, #e2ddf0, #EFDDF0);

Monochromatic scale

Palettes built from #e2ddf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2ddf0 in the Color Lab