Skip to content

#e2e2ff

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

RGB
226, 226, 255
HSL
240°, 100%, 94%
CMYK
11, 11, 0, 0
Luminance
0.7778

Every format

HEX#e2e2ff
RGBrgb(226, 226, 255)
HSLhsl(240, 100%, 94%)
CMYKcmyk(11%, 11%, 0%, 0%)
LABlab(90.7 5.5 -14.0)
LCHlch(90.7 15.1 291.4)
OKLCHoklch(0.922 0.039 285.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green88.6%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta11.4%
Yellow0.0%
Key (black)0.0%

Color previews

#e2e2ff text on a black background

contrast 16.56:1

Card sample

#e2e2ff text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2e2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2e2ff in the Color Lab