Skip to content

#ebbafe

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

RGB
235, 186, 254
HSL
283°, 97%, 86%
CMYK
8, 27, 0, 0
Luminance
0.5994

Every format

HEX#ebbafe
RGBrgb(235, 186, 254)
HSLhsl(283, 97%, 86%)
CMYKcmyk(8%, 27%, 0%, 0%)
LABlab(81.8 29.3 -26.8)
LCHlch(81.8 39.8 317.5)
OKLCHoklch(0.855 0.106 316.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebbafe on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ebbafe on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green72.9%
Blue99.6%

CMYK percentages

Cyan7.5%
Magenta26.8%
Yellow0.0%
Key (black)0.4%

Color previews

#ebbafe text on a black background

contrast 12.99:1

Card sample

#ebbafe text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebbafe in the Color Lab