Skip to content

#eee2f7

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

RGB
238, 226, 247
HSL
274°, 57%, 93%
CMYK
4, 9, 0, 3
Luminance
0.7929

Every format

HEX#eee2f7
RGBrgb(238, 226, 247)
HSLhsl(274, 57%, 93%)
CMYKcmyk(4%, 9%, 0%, 3%)
LABlab(91.4 7.8 -8.7)
LCHlch(91.4 11.7 311.9)
OKLCHoklch(0.928 0.031 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green88.6%
Blue96.9%

CMYK percentages

Cyan3.6%
Magenta8.5%
Yellow0.0%
Key (black)3.1%

Color previews

#eee2f7 text on a black background

contrast 16.86:1

Card sample

#eee2f7 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2f7 in the Color Lab