Skip to content

#eee2f1

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

RGB
238, 226, 241
HSL
288°, 35%, 92%
CMYK
1, 6, 0, 6
Luminance
0.7892

Every format

HEX#eee2f1
RGBrgb(238, 226, 241)
HSLhsl(288, 35%, 92%)
CMYKcmyk(1%, 6%, 0%, 6%)
LABlab(91.2 6.7 -5.8)
LCHlch(91.2 8.9 319.1)
OKLCHoklch(0.927 0.024 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee2f1 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#eee2f1 on black: 16.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green88.6%
Blue94.5%

CMYK percentages

Cyan1.2%
Magenta6.2%
Yellow0.0%
Key (black)5.5%

Color previews

#eee2f1 text on a black background

contrast 16.78:1

Card sample

#eee2f1 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2f1 in the Color Lab