Skip to content
Vectorlight.net

#e2afea

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

HEX
#e2afea
RGB
226, 175, 234
HSL
291.86°, 58.42%, 80.2%
OKLCH
0.82 0.1 321.82
Names
—
Lists

Codes

FormatValue
HEX#e2afea
RGBrgb(226 175 234)
HSLhsl(291.86 58.42% 80.2%)
OKLCHoklch(0.82 0.1 321.82)
CMYKcmyk(3.42% 25.21% 0% 8.24%)
Android#ffe2afea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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