Skip to content
Vectorlight.net

#ecb1ff

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

HEX
#ecb1ff
RGB
236, 177, 255
HSL
285.38°, 100%, 84.71%
OKLCH
0.84 0.12 317.76
Names
—
Lists

Codes

FormatValue
HEX#ecb1ff
RGBrgb(236 177 255)
HSLhsl(285.38 100% 84.71%)
OKLCHoklch(0.84 0.12 317.76)
CMYKcmyk(7.45% 30.59% 0% 0%)
Android#ffecb1ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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