Skip to content
Vectorlight.net

#cd72dc

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

HEX
#cd72dc
RGB
205, 114, 220
HSL
291.51°, 60.23%, 65.49%
OKLCH
0.69 0.18 321.79
Names
—
Lists

Codes

FormatValue
HEX#cd72dc
RGBrgb(205 114 220)
HSLhsl(291.51 60.23% 65.49%)
OKLCHoklch(0.69 0.18 321.79)
CMYKcmyk(6.82% 48.18% 0% 13.73%)
Android#ffcd72dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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