Skip to content
Vectorlight.net

#d91ce1

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

HEX
#d91ce1
RGB
217, 28, 225
HSL
297.56°, 77.87%, 49.61%
OKLCH
0.63 0.28 326.28
Names
—
Lists

Codes

FormatValue
HEX#d91ce1
RGBrgb(217 28 225)
HSLhsl(297.56 77.87% 49.61%)
OKLCHoklch(0.63 0.28 326.28)
CMYKcmyk(3.56% 87.56% 0% 11.76%)
Android#ffd91ce1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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