Skip to content
Vectorlight.net

#e731da

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

HEX
#e731da
RGB
231, 49, 218
HSL
304.29°, 79.13%, 54.9%
OKLCH
0.66 0.27 331.46
Names
—
Lists

Codes

FormatValue
HEX#e731da
RGBrgb(231 49 218)
HSLhsl(304.29 79.13% 54.9%)
OKLCHoklch(0.66 0.27 331.46)
CMYKcmyk(0% 78.79% 5.63% 9.41%)
Android#ffe731da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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