Skip to content

#ebcfff

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

RGB
235, 207, 255
HSL
275°, 100%, 91%
CMYK
8, 19, 0, 0
Luminance
0.6951

Every format

HEX#ebcfff
RGBrgb(235, 207, 255)
HSLhsl(275, 100%, 91%)
CMYKcmyk(8%, 19%, 0%, 0%)
LABlab(86.8 18.4 -19.9)
LCHlch(86.8 27.0 312.8)
OKLCHoklch(0.893 0.071 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebcfff on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ebcfff on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green81.2%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta18.8%
Yellow0.0%
Key (black)0.0%

Color previews

#ebcfff text on a black background

contrast 14.90:1

Card sample

#ebcfff text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebcfff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebcfff in the Color Lab