Skip to content

#eee2fe

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

RGB
238, 226, 254
HSL
266°, 93%, 94%
CMYK
6, 11, 0, 0
Luminance
0.7973

Every format

HEX#eee2fe
RGBrgb(238, 226, 254)
HSLhsl(266, 93%, 94%)
CMYKcmyk(6%, 11%, 0%, 0%)
LABlab(91.6 9.1 -12.1)
LCHlch(91.6 15.1 307.1)
OKLCHoklch(0.931 0.040 305.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.3%
Green88.6%
Blue99.6%

CMYK percentages

Cyan6.3%
Magenta11.0%
Yellow0.0%
Key (black)0.4%

Color previews

#eee2fe text on a black background

contrast 16.95:1

Card sample

#eee2fe text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eee2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eee2fe in the Color Lab