Skip to content
Vectorlight.net

#e731db

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

HEX
#e731db
RGB
231, 49, 219
HSL
303.96°, 79.13%, 54.9%
OKLCH
0.66 0.27 331.2
Names
—
Lists

Codes

FormatValue
HEX#e731db
RGBrgb(231 49 219)
HSLhsl(303.96 79.13% 54.9%)
OKLCHoklch(0.66 0.27 331.2)
CMYKcmyk(0% 78.79% 5.19% 9.41%)
Android#ffe731db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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