Skip to content
Vectorlight.net

#ecb1fd

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

HEX
#ecb1fd
RGB
236, 177, 253
HSL
286.58°, 95%, 84.31%
OKLCH
0.84 0.12 318.54
Names
—
Lists

Codes

FormatValue
HEX#ecb1fd
RGBrgb(236 177 253)
HSLhsl(286.58 95% 84.31%)
OKLCHoklch(0.84 0.12 318.54)
CMYKcmyk(6.72% 30.04% 0% 0.78%)
Android#ffecb1fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.27: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="#ecb1fd"
Gradient stop
<stop stop-color="#ecb1fd"/>
CSS variable + fill
:root { --c: #ecb1fd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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