Skip to content
Vectorlight.net

#ecb7ef

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

HEX
#ecb7ef
RGB
236, 183, 239
HSL
296.79°, 63.64%, 82.75%
OKLCH
0.84 0.1 324.63
Names
—
Lists

Codes

FormatValue
HEX#ecb7ef
RGBrgb(236 183 239)
HSLhsl(296.79 63.64% 82.75%)
OKLCHoklch(0.84 0.1 324.63)
CMYKcmyk(1.26% 23.43% 0% 6.27%)
Android#ffecb7ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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