Skip to content
Vectorlight.net

#cd5798

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

HEX
#cd5798
RGB
205, 87, 152
HSL
326.95°, 54.13%, 57.25%
OKLCH
0.63 0.17 348.74
Names
—
Lists

Codes

FormatValue
HEX#cd5798
RGBrgb(205 87 152)
HSLhsl(326.95 54.13% 57.25%)
OKLCHoklch(0.63 0.17 348.74)
CMYKcmyk(0% 57.56% 25.85% 19.61%)
Android#ffcd5798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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