Skip to content
Vectorlight.net

#ec9df3

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

HEX
#ec9df3
RGB
236, 157, 243
HSL
295.12°, 78.18%, 78.43%
OKLCH
0.8 0.14 323.95
Names
—
Lists

Codes

FormatValue
HEX#ec9df3
RGBrgb(236 157 243)
HSLhsl(295.12 78.18% 78.43%)
OKLCHoklch(0.8 0.14 323.95)
CMYKcmyk(2.88% 35.39% 0% 4.71%)
Android#ffec9df3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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