Skip to content

#ebcaf2

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

RGB
235, 202, 242
HSL
290°, 61%, 87%
CMYK
3, 17, 0, 5
Luminance
0.6631

Every format

HEX#ebcaf2
RGBrgb(235, 202, 242)
HSLhsl(290, 61%, 87%)
CMYKcmyk(3%, 17%, 0%, 5%)
LABlab(85.2 18.5 -15.4)
LCHlch(85.2 24.1 320.3)
OKLCHoklch(0.879 0.065 320.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebcaf2 on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#ebcaf2 on black: 14.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green79.2%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#ebcaf2 text on a black background

contrast 14.26:1

Card sample

#ebcaf2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebcaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebcaf2 in the Color Lab