Skip to content
Vectorlight.net

#cd3399

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

HEX
#cd3399
RGB
205, 51, 153
HSL
320.26°, 60.63%, 50.2%
OKLCH
0.59 0.21 345.08
Names
—
Lists

Codes

FormatValue
HEX#cd3399
RGBrgb(205 51 153)
HSLhsl(320.26 60.63% 50.2%)
OKLCHoklch(0.59 0.21 345.08)
CMYKcmyk(0% 75.12% 25.37% 19.61%)
Android#ffcd3399

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cd3399"
Gradient stop
<stop stop-color="#cd3399"/>
CSS variable + fill
:root { --c: #cd3399; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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