Skip to content
Vectorlight.net

#d971ca

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

HEX
#d971ca
RGB
217, 113, 202
HSL
308.65°, 57.78%, 64.71%
OKLCH
0.7 0.17 332.86
Names
—
Lists

Codes

FormatValue
HEX#d971ca
RGBrgb(217 113 202)
HSLhsl(308.65 57.78% 64.71%)
OKLCHoklch(0.7 0.17 332.86)
CMYKcmyk(0% 47.93% 6.91% 14.9%)
Android#ffd971ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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