Skip to content
Vectorlight.net

#d431e6

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

HEX
#d431e6
RGB
212, 49, 230
HSL
294.03°, 78.35%, 54.71%
OKLCH
0.64 0.27 323.48
Names
—
Lists

Codes

FormatValue
HEX#d431e6
RGBrgb(212 49 230)
HSLhsl(294.03 78.35% 54.71%)
OKLCHoklch(0.64 0.27 323.48)
CMYKcmyk(7.83% 78.7% 0% 9.8%)
Android#ffd431e6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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