Skip to content
Vectorlight.net

#e731dc

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

HEX
#e731dc
RGB
231, 49, 220
HSL
303.63°, 79.13%, 54.9%
OKLCH
0.66 0.27 330.94
Names
—
Lists

Codes

FormatValue
HEX#e731dc
RGBrgb(231 49 220)
HSLhsl(303.63 79.13% 54.9%)
OKLCHoklch(0.66 0.27 330.94)
CMYKcmyk(0% 78.79% 4.76% 9.41%)
Android#ffe731dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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