Skip to content

#ecbafc

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

RGB
236, 186, 252
HSL
286°, 92%, 86%
CMYK
6, 26, 0, 1
Luminance
0.5998

Every format

HEX#ecbafc
RGBrgb(236, 186, 252)
HSLhsl(286, 92%, 86%)
CMYKcmyk(6%, 26%, 0%, 1%)
LABlab(81.8 29.3 -25.7)
LCHlch(81.8 39.0 318.7)
OKLCHoklch(0.855 0.104 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green72.9%
Blue98.8%

CMYK percentages

Cyan6.3%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#ecbafc text on a black background

contrast 13.00:1

Card sample

#ecbafc text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecbafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecbafc in the Color Lab