Skip to content
Vectorlight.net

#e2afeb

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

HEX
#e2afeb
RGB
226, 175, 235
HSL
291°, 60%, 80.39%
OKLCH
0.82 0.1 321.31
Names
—
Lists

Codes

FormatValue
HEX#e2afeb
RGBrgb(226 175 235)
HSLhsl(291 60% 80.39%)
OKLCHoklch(0.82 0.1 321.31)
CMYKcmyk(3.83% 25.53% 0% 7.84%)
Android#ffe2afeb

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.56: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="#e2afeb"
Gradient stop
<stop stop-color="#e2afeb"/>
CSS variable + fill
:root { --c: #e2afeb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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