Skip to content

#ebdef6

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

RGB
235, 222, 246
HSL
273°, 57%, 92%
CMYK
5, 10, 0, 4
Luminance
0.7656

Every format

HEX#ebdef6
RGBrgb(235, 222, 246)
HSLhsl(273, 57%, 92%)
CMYKcmyk(5%, 10%, 0%, 4%)
LABlab(90.1 8.7 -10.1)
LCHlch(90.1 13.3 310.9)
OKLCHoklch(0.918 0.035 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdef6 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ebdef6 on black: 16.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.1%
Blue96.5%

CMYK percentages

Cyan4.5%
Magenta9.8%
Yellow0.0%
Key (black)3.5%

Color previews

#ebdef6 text on a black background

contrast 16.31:1

Card sample

#ebdef6 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdef6 in the Color Lab