Skip to content

#e7def6

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

RGB
231, 222, 246
HSL
263°, 57%, 92%
CMYK
6, 10, 0, 4
Luminance
0.7589

Every format

HEX#e7def6
RGBrgb(231, 222, 246)
HSLhsl(263, 57%, 92%)
CMYKcmyk(6%, 10%, 0%, 4%)
LABlab(89.8 7.4 -10.6)
LCHlch(89.8 12.9 305.1)
OKLCHoklch(0.915 0.034 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e7def6 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#e7def6 on black: 16.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red90.6%
Green87.1%
Blue96.5%

CMYK percentages

Cyan6.1%
Magenta9.8%
Yellow0.0%
Key (black)3.5%

Color previews

#e7def6 text on a black background

contrast 16.18:1

Card sample

#e7def6 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 222, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 222, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7def6;
background: linear-gradient(135deg, #e7def6, #F6DEF5);

Monochromatic scale

Palettes built from #e7def6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e7def6 in the Color Lab