Skip to content
Vectorlight.net

#ec89fc

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

HEX
#ec89fc
RGB
236, 137, 252
HSL
291.65°, 95.04%, 76.27%
OKLCH
0.78 0.19 321.88
Names
—
Lists

Codes

FormatValue
HEX#ec89fc
RGBrgb(236 137 252)
HSLhsl(291.65 95.04% 76.27%)
OKLCHoklch(0.78 0.19 321.88)
CMYKcmyk(6.35% 45.63% 0% 1.18%)
Android#ffec89fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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