Skip to content
Vectorlight.net

#c52ace

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

HEX
#c52ace
RGB
197, 42, 206
HSL
296.71°, 66.13%, 48.63%
OKLCH
0.6 0.25 325.62
Names
—
Lists

Codes

FormatValue
HEX#c52ace
RGBrgb(197 42 206)
HSLhsl(296.71 66.13% 48.63%)
OKLCHoklch(0.6 0.25 325.62)
CMYKcmyk(4.37% 79.61% 0% 19.22%)
Android#ffc52ace

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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