Skip to content

#e3d4fc

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

RGB
227, 212, 252
HSL
263°, 87%, 91%
CMYK
10, 16, 0, 1
Luminance
0.7045

Every format

HEX#e3d4fc
RGBrgb(227, 212, 252)
HSLhsl(263, 87%, 91%)
CMYKcmyk(10%, 16%, 0%, 1%)
LABlab(87.2 12.6 -17.6)
LCHlch(87.2 21.6 305.5)
OKLCHoklch(0.894 0.056 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e3d4fc on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#e3d4fc on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.0%
Green83.1%
Blue98.8%

CMYK percentages

Cyan9.9%
Magenta15.9%
Yellow0.0%
Key (black)1.2%

Color previews

#e3d4fc text on a black background

contrast 15.09:1

Card sample

#e3d4fc text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e3d4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e3d4fc in the Color Lab