Skip to content
Vectorlight.net

#cd3498

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

HEX
#cd3498
RGB
205, 52, 152
HSL
320.78°, 60.47%, 50.39%
OKLCH
0.59 0.21 345.51
Names
—
Lists

Codes

FormatValue
HEX#cd3498
RGBrgb(205 52 152)
HSLhsl(320.78 60.47% 50.39%)
OKLCHoklch(0.59 0.21 345.51)
CMYKcmyk(0% 74.63% 25.85% 19.61%)
Android#ffcd3498

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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