Skip to content

#e2e2fc

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

RGB
226, 226, 252
HSL
240°, 81%, 94%
CMYK
10, 10, 0, 1
Luminance
0.7759

Every format

HEX#e2e2fc
RGBrgb(226, 226, 252)
HSLhsl(240, 81%, 94%)
CMYKcmyk(10%, 10%, 0%, 1%)
LABlab(90.6 4.9 -12.6)
LCHlch(90.6 13.5 291.2)
OKLCHoklch(0.921 0.035 285.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2e2fc on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#e2e2fc on black: 16.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green88.6%
Blue98.8%

CMYK percentages

Cyan10.3%
Magenta10.3%
Yellow0.0%
Key (black)1.2%

Color previews

#e2e2fc text on a black background

contrast 16.52:1

Card sample

#e2e2fc text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2e2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2e2fc in the Color Lab