Skip to content
Vectorlight.net

#ec66fe

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

HEX
#ec66fe
RGB
236, 102, 254
HSL
292.89°, 98.7%, 69.8%
OKLCH
0.73 0.24 322.78
Names
—
Lists

Codes

FormatValue
HEX#ec66fe
RGBrgb(236 102 254)
HSLhsl(292.89 98.7% 69.8%)
OKLCHoklch(0.73 0.24 322.78)
CMYKcmyk(7.09% 59.84% 0% 0.39%)
Android#ffec66fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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