Skip to content

#ebe4fc

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

RGB
235, 228, 252
HSL
258°, 80%, 94%
CMYK
7, 10, 0, 1
Luminance
0.8018

Every format

HEX#ebe4fc
RGBrgb(235, 228, 252)
HSLhsl(258, 80%, 94%)
CMYKcmyk(7%, 10%, 0%, 1%)
LABlab(91.8 6.7 -10.8)
LCHlch(91.8 12.7 302.1)
OKLCHoklch(0.931 0.033 299.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebe4fc on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ebe4fc on black: 17.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green89.4%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta9.5%
Yellow0.0%
Key (black)1.2%

Color previews

#ebe4fc text on a black background

contrast 17.04:1

Card sample

#ebe4fc text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebe4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebe4fc in the Color Lab