Skip to content

#e2d2f2

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

RGB
226, 210, 242
HSL
270°, 55%, 89%
CMYK
7, 13, 0, 5
Luminance
0.6867

Every format

HEX#e2d2f2
RGBrgb(226, 210, 242)
HSLhsl(270, 55%, 89%)
CMYKcmyk(7%, 13%, 0%, 5%)
LABlab(86.3 11.3 -13.7)
LCHlch(86.3 17.8 309.7)
OKLCHoklch(0.886 0.046 307.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d2f2 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#e2d2f2 on black: 14.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green82.4%
Blue94.9%

CMYK percentages

Cyan6.6%
Magenta13.2%
Yellow0.0%
Key (black)5.1%

Color previews

#e2d2f2 text on a black background

contrast 14.73:1

Card sample

#e2d2f2 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d2f2 in the Color Lab