Skip to content

#e4d3f2

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

RGB
228, 211, 242
HSL
273°, 54%, 89%
CMYK
6, 13, 0, 5
Luminance
0.6949

Every format

HEX#e4d3f2
RGBrgb(228, 211, 242)
HSLhsl(273, 54%, 89%)
CMYKcmyk(6%, 13%, 0%, 5%)
LABlab(86.8 11.5 -13.1)
LCHlch(86.8 17.4 311.3)
OKLCHoklch(0.890 0.046 309.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e4d3f2 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#e4d3f2 on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.4%
Green82.7%
Blue94.9%

CMYK percentages

Cyan5.8%
Magenta12.8%
Yellow0.0%
Key (black)5.1%

Color previews

#e4d3f2 text on a black background

contrast 14.90:1

Card sample

#e4d3f2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4d3f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4d3f2 in the Color Lab