Skip to content
Vectorlight.net

#ec4efc

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

HEX
#ec4efc
RGB
236, 78, 252
HSL
294.48°, 96.67%, 64.71%
OKLCH
0.71 0.27 323.93
Names
—
Lists

Codes

FormatValue
HEX#ec4efc
RGBrgb(236 78 252)
HSLhsl(294.48 96.67% 64.71%)
OKLCHoklch(0.71 0.27 323.93)
CMYKcmyk(6.35% 69.05% 0% 1.18%)
Android#ffec4efc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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