Skip to content

#eee2f6

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

RGB
238, 226, 246
HSL
276°, 53%, 93%
CMYK
3, 8, 0, 4
Luminance
0.7922

Every format

HEX#eee2f6
RGBrgb(238, 226, 246)
HSLhsl(276, 53%, 93%)
CMYKcmyk(3%, 8%, 0%, 4%)
LABlab(91.3 7.6 -8.2)
LCHlch(91.3 11.2 312.8)
OKLCHoklch(0.928 0.030 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green88.6%
Blue96.5%

CMYK percentages

Cyan3.3%
Magenta8.1%
Yellow0.0%
Key (black)3.5%

Color previews

#eee2f6 text on a black background

contrast 16.84:1

Card sample

#eee2f6 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2f6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2f6 in the Color Lab