Skip to content

#e4d4f3

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

RGB
228, 212, 243
HSL
271°, 56%, 89%
CMYK
6, 13, 0, 5
Luminance
0.7005

Every format

HEX#e4d4f3
RGBrgb(228, 212, 243)
HSLhsl(271, 56%, 89%)
CMYKcmyk(6%, 13%, 0%, 5%)
LABlab(87.0 11.1 -13.2)
LCHlch(87.0 17.2 310.2)
OKLCHoklch(0.892 0.045 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4d4f3 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#e4d4f3 on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green83.1%
Blue95.3%

CMYK percentages

Cyan6.2%
Magenta12.8%
Yellow0.0%
Key (black)4.7%

Color previews

#e4d4f3 text on a black background

contrast 15.01:1

Card sample

#e4d4f3 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4d4f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4d4f3 in the Color Lab