Skip to content

#e2d3fd

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

RGB
226, 211, 253
HSL
261°, 91%, 91%
CMYK
11, 17, 0, 1
Luminance
0.6985

Every format

HEX#e2d3fd
RGBrgb(226, 211, 253)
HSLhsl(261, 91%, 91%)
CMYKcmyk(11%, 17%, 0%, 1%)
LABlab(86.9 13.0 -18.6)
LCHlch(86.9 22.7 304.9)
OKLCHoklch(0.892 0.059 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green82.7%
Blue99.2%

CMYK percentages

Cyan10.7%
Magenta16.6%
Yellow0.0%
Key (black)0.8%

Color previews

#e2d3fd text on a black background

contrast 14.97:1

Card sample

#e2d3fd text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d3fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d3fd in the Color Lab