Skip to content

#eee2fb

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

RGB
238, 226, 251
HSL
269°, 76%, 94%
CMYK
5, 10, 0, 2
Luminance
0.7953

Every format

HEX#eee2fb
RGBrgb(238, 226, 251)
HSLhsl(269, 76%, 94%)
CMYKcmyk(5%, 10%, 0%, 2%)
LABlab(91.5 8.6 -10.6)
LCHlch(91.5 13.7 308.8)
OKLCHoklch(0.930 0.036 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eee2fb on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#eee2fb on black: 16.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green88.6%
Blue98.4%

CMYK percentages

Cyan5.2%
Magenta10.0%
Yellow0.0%
Key (black)1.6%

Color previews

#eee2fb text on a black background

contrast 16.91:1

Card sample

#eee2fb text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2fb in the Color Lab