Skip to content
Vectorlight.net

#e266ec

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

HEX
#e266ec
RGB
226, 102, 236
HSL
295.52°, 77.91%, 66.27%
OKLCH
0.71 0.22 324.61
Names
—
Lists

Codes

FormatValue
HEX#e266ec
RGBrgb(226 102 236)
HSLhsl(295.52 77.91% 66.27%)
OKLCHoklch(0.71 0.22 324.61)
CMYKcmyk(4.24% 56.78% 0% 7.45%)
Android#ffe266ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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