Skip to content
Vectorlight.net

#e7aafa

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

HEX
#e7aafa
RGB
231, 170, 250
HSL
285.75°, 88.89%, 82.35%
OKLCH
0.82 0.13 317.98
Names
—
Lists

Codes

FormatValue
HEX#e7aafa
RGBrgb(231 170 250)
HSLhsl(285.75 88.89% 82.35%)
OKLCHoklch(0.82 0.13 317.98)
CMYKcmyk(7.6% 32% 0% 1.96%)
Android#ffe7aafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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