Skip to content
Vectorlight.net

#cd05c4

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

HEX
#cd05c4
RGB
205, 5, 196
HSL
302.7°, 95.24%, 41.18%
OKLCH
0.59 0.27 330.77
Names
—
Lists

Codes

FormatValue
HEX#cd05c4
RGBrgb(205 5 196)
HSLhsl(302.7 95.24% 41.18%)
OKLCHoklch(0.59 0.27 330.77)
CMYKcmyk(0% 97.56% 4.39% 19.61%)
Android#ffcd05c4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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