Skip to content

#ebdcfb

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

RGB
235, 220, 251
HSL
269°, 80%, 92%
CMYK
6, 12, 0, 2
Luminance
0.7581

Every format

HEX#ebdcfb
RGBrgb(235, 220, 251)
HSLhsl(269, 80%, 92%)
CMYKcmyk(6%, 12%, 0%, 2%)
LABlab(89.8 10.7 -13.2)
LCHlch(89.8 17.0 309.1)
OKLCHoklch(0.916 0.044 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green86.3%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta12.4%
Yellow0.0%
Key (black)1.6%

Color previews

#ebdcfb text on a black background

contrast 16.16:1

Card sample

#ebdcfb text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdcfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdcfb in the Color Lab