Skip to content
Vectorlight.net

#ec71eb

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

HEX
#ec71eb
RGB
236, 113, 235
HSL
300.49°, 76.4%, 68.43%
OKLCH
0.74 0.21 327.75
Names
—
Lists

Codes

FormatValue
HEX#ec71eb
RGBrgb(236 113 235)
HSLhsl(300.49 76.4% 68.43%)
OKLCHoklch(0.74 0.21 327.75)
CMYKcmyk(0% 52.12% 0.42% 7.45%)
Android#ffec71eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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