Skip to content
Vectorlight.net

#c72dcc

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

HEX
#c72dcc
RGB
199, 45, 204
HSL
298.11°, 63.86%, 48.82%
OKLCH
0.6 0.25 326.71
Names
—
Lists

Codes

FormatValue
HEX#c72dcc
RGBrgb(199 45 204)
HSLhsl(298.11 63.86% 48.82%)
OKLCHoklch(0.6 0.25 326.71)
CMYKcmyk(2.45% 77.94% 0% 20%)
Android#ffc72dcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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