Skip to content
Vectorlight.net

#e77afa

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

HEX
#e77afa
RGB
231, 122, 250
HSL
291.09°, 92.75%, 72.94%
OKLCH
0.75 0.21 321.51
Names
—
Lists

Codes

FormatValue
HEX#e77afa
RGBrgb(231 122 250)
HSLhsl(291.09 92.75% 72.94%)
OKLCHoklch(0.75 0.21 321.51)
CMYKcmyk(7.6% 51.2% 0% 1.96%)
Android#ffe77afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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