Skip to content
Vectorlight.net

#cc47ba

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

HEX
#cc47ba
RGB
204, 71, 186
HSL
308.12°, 56.6%, 53.92%
OKLCH
0.62 0.21 333.62
Names
—
Lists

Codes

FormatValue
HEX#cc47ba
RGBrgb(204 71 186)
HSLhsl(308.12 56.6% 53.92%)
OKLCHoklch(0.62 0.21 333.62)
CMYKcmyk(0% 65.2% 8.82% 20%)
Android#ffcc47ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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