Skip to content

#ebcdf2

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

RGB
235, 205, 242
HSL
289°, 59%, 88%
CMYK
3, 15, 0, 5
Luminance
0.6774

Every format

HEX#ebcdf2
RGBrgb(235, 205, 242)
HSLhsl(289, 59%, 88%)
CMYKcmyk(3%, 15%, 0%, 5%)
LABlab(85.9 16.9 -14.3)
LCHlch(85.9 22.1 319.8)
OKLCHoklch(0.885 0.059 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebcdf2 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#ebcdf2 on black: 14.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green80.4%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#ebcdf2 text on a black background

contrast 14.55:1

Card sample

#ebcdf2 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebcdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebcdf2 in the Color Lab