Skip to content
Vectorlight.net

#d92ecd

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

HEX
#d92ecd
RGB
217, 46, 205
HSL
304.21°, 69.23%, 51.57%
OKLCH
0.63 0.26 331.39
Names
—
Lists

Codes

FormatValue
HEX#d92ecd
RGBrgb(217 46 205)
HSLhsl(304.21 69.23% 51.57%)
OKLCHoklch(0.63 0.26 331.39)
CMYKcmyk(0% 78.8% 5.53% 14.9%)
Android#ffd92ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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