Skip to content
Vectorlight.net

#d970db

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

HEX
#d970db
RGB
217, 112, 219
HSL
298.88°, 59.78%, 64.9%
OKLCH
0.7 0.19 326.63
Names
—
Lists

Codes

FormatValue
HEX#d970db
RGBrgb(217 112 219)
HSLhsl(298.88 59.78% 64.9%)
OKLCHoklch(0.7 0.19 326.63)
CMYKcmyk(0.91% 48.86% 0% 14.12%)
Android#ffd970db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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