Skip to content
Vectorlight.net

#c52ebc

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

HEX
#c52ebc
RGB
197, 46, 188
HSL
303.58°, 62.14%, 47.65%
OKLCH
0.59 0.24 330.78
Names
—
Lists

Codes

FormatValue
HEX#c52ebc
RGBrgb(197 46 188)
HSLhsl(303.58 62.14% 47.65%)
OKLCHoklch(0.59 0.24 330.78)
CMYKcmyk(0% 76.65% 4.57% 22.75%)
Android#ffc52ebc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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