Skip to content
Vectorlight.net

#e2a7fe

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

HEX
#e2a7fe
RGB
226, 167, 254
HSL
280.69°, 97.75%, 82.55%
OKLCH
0.81 0.13 314.48
Names
—
Lists

Codes

FormatValue
HEX#e2a7fe
RGBrgb(226 167 254)
HSLhsl(280.69 97.75% 82.55%)
OKLCHoklch(0.81 0.13 314.48)
CMYKcmyk(11.02% 34.25% 0% 0.39%)
Android#ffe2a7fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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