Skip to content

#e2d1f3

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

RGB
226, 209, 243
HSL
270°, 59%, 89%
CMYK
7, 14, 0, 5
Luminance
0.6824

Every format

HEX#e2d1f3
RGBrgb(226, 209, 243)
HSLhsl(270, 59%, 89%)
CMYKcmyk(7%, 14%, 0%, 5%)
LABlab(86.1 12.1 -14.5)
LCHlch(86.1 18.9 309.7)
OKLCHoklch(0.885 0.050 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red88.6%
Green82.0%
Blue95.3%

CMYK percentages

Cyan7.0%
Magenta14.0%
Yellow0.0%
Key (black)4.7%

Color previews

#e2d1f3 text on a black background

contrast 14.65:1

Card sample

#e2d1f3 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d1f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d1f3 in the Color Lab