Skip to content

#e5e2ff

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

RGB
229, 226, 255
HSL
246°, 100%, 94%
CMYK
10, 11, 0, 0
Luminance
0.7827

Every format

HEX#e5e2ff
RGBrgb(229, 226, 255)
HSLhsl(246, 100%, 94%)
CMYKcmyk(10%, 11%, 0%, 0%)
LABlab(90.9 6.4 -13.7)
LCHlch(90.9 15.1 295.2)
OKLCHoklch(0.924 0.039 290.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e5e2ff on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#e5e2ff on black: 16.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.8%
Green88.6%
Blue100.0%

CMYK percentages

Cyan10.2%
Magenta11.4%
Yellow0.0%
Key (black)0.0%

Color previews

#e5e2ff text on a black background

contrast 16.65:1

Card sample

#e5e2ff text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5e2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e5e2ff in the Color Lab