Skip to content

#eae2fc

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

RGB
234, 226, 252
HSL
259°, 81%, 94%
CMYK
7, 10, 0, 1
Luminance
0.7891

Every format

HEX#eae2fc
RGBrgb(234, 226, 252)
HSLhsl(259, 81%, 94%)
CMYKcmyk(7%, 10%, 0%, 1%)
LABlab(91.2 7.5 -11.6)
LCHlch(91.2 13.8 302.7)
OKLCHoklch(0.927 0.036 299.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red91.8%
Green88.6%
Blue98.8%

CMYK percentages

Cyan7.1%
Magenta10.3%
Yellow0.0%
Key (black)1.2%

Color previews

#eae2fc text on a black background

contrast 16.78:1

Card sample

#eae2fc text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eae2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eae2fc in the Color Lab