Skip to content

#ebdef9

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

RGB
235, 222, 249
HSL
269°, 69%, 92%
CMYK
6, 11, 0, 2
Luminance
0.7674

Every format

HEX#ebdef9
RGBrgb(235, 222, 249)
HSLhsl(269, 69%, 92%)
CMYKcmyk(6%, 11%, 0%, 2%)
LABlab(90.2 9.3 -11.5)
LCHlch(90.2 14.8 308.9)
OKLCHoklch(0.919 0.039 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdef9 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#ebdef9 on black: 16.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.1%
Blue97.6%

CMYK percentages

Cyan5.6%
Magenta10.8%
Yellow0.0%
Key (black)2.4%

Color previews

#ebdef9 text on a black background

contrast 16.35:1

Card sample

#ebdef9 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdef9 in the Color Lab