Skip to content

#ecbafe

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

RGB
236, 186, 254
HSL
284°, 97%, 86%
CMYK
7, 27, 0, 0
Luminance
0.6011

Every format

HEX#ecbafe
RGBrgb(236, 186, 254)
HSLhsl(284, 97%, 86%)
CMYKcmyk(7%, 27%, 0%, 0%)
LABlab(81.9 29.6 -26.7)
LCHlch(81.9 39.9 318.0)
OKLCHoklch(0.856 0.106 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecbafe on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#ecbafe on black: 13.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green72.9%
Blue99.6%

CMYK percentages

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

Color previews

#ecbafe text on a black background

contrast 13.02:1

Card sample

#ecbafe text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecbafe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecbafe in the Color Lab