Skip to content
Vectorlight.net

#ecb0fe

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ecb0fe
RGB
236, 176, 254
HSL
286.15°, 97.5%, 84.31%
OKLCH
0.84 0.12 318.26
Names
—
Lists

Codes

FormatValue
HEX#ecb0fe
RGBrgb(236 176 254)
HSLhsl(286.15 97.5% 84.31%)
OKLCHoklch(0.84 0.12 318.26)
CMYKcmyk(7.09% 30.71% 0% 0.39%)
Android#ffecb0fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.20:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ecb0fe"
Gradient stop
<stop stop-color="#ecb0fe"/>
CSS variable + fill
:root { --c: #ecb0fe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ecb0fe;
background-color: #ecb0fe;
bg-[#ecb0fe]