Skip to content
Vectorlight.net

#ecb2ef

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

HEX
#ecb2ef
RGB
236, 178, 239
HSL
297.05°, 65.59%, 81.76%
OKLCH
0.84 0.1 324.84
Names
—
Lists

Codes

FormatValue
HEX#ecb2ef
RGBrgb(236 178 239)
HSLhsl(297.05 65.59% 81.76%)
OKLCHoklch(0.84 0.1 324.84)
CMYKcmyk(1.26% 25.52% 0% 6.27%)
Android#ffecb2ef

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.18: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="#ecb2ef"
Gradient stop
<stop stop-color="#ecb2ef"/>
CSS variable + fill
:root { --c: #ecb2ef; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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