Skip to content

#ebdcf2

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

RGB
235, 220, 242
HSL
281°, 46%, 91%
CMYK
3, 9, 0, 5
Luminance
0.7526

Every format

HEX#ebdcf2
RGBrgb(235, 220, 242)
HSLhsl(281, 46%, 91%)
CMYKcmyk(3%, 9%, 0%, 5%)
LABlab(89.5 9.0 -8.9)
LCHlch(89.5 12.7 315.5)
OKLCHoklch(0.913 0.034 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdcf2 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#ebdcf2 on black: 16.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green86.3%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta9.1%
Yellow0.0%
Key (black)5.1%

Color previews

#ebdcf2 text on a black background

contrast 16.05:1

Card sample

#ebdcf2 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdcf2 in the Color Lab