Skip to content
Vectorlight.net

#dd31cd

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

HEX
#dd31cd
RGB
221, 49, 205
HSL
305.58°, 71.67%, 52.94%
OKLCH
0.64 0.26 332.44
Names
—
Lists

Codes

FormatValue
HEX#dd31cd
RGBrgb(221 49 205)
HSLhsl(305.58 71.67% 52.94%)
OKLCHoklch(0.64 0.26 332.44)
CMYKcmyk(0% 77.83% 7.24% 13.33%)
Android#ffdd31cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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