Skip to content
Vectorlight.net

#d970e5

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

HEX
#d970e5
RGB
217, 112, 229
HSL
293.85°, 69.23%, 66.86%
OKLCH
0.71 0.19 323.4
Names
—
Lists

Codes

FormatValue
HEX#d970e5
RGBrgb(217 112 229)
HSLhsl(293.85 69.23% 66.86%)
OKLCHoklch(0.71 0.19 323.4)
CMYKcmyk(5.24% 51.09% 0% 10.2%)
Android#ffd970e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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