Skip to content
Vectorlight.net

#c522ba

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

HEX
#c522ba
RGB
197, 34, 186
HSL
304.05°, 70.56%, 45.29%
OKLCH
0.58 0.24 331.41
Names
—
Lists

Codes

FormatValue
HEX#c522ba
RGBrgb(197 34 186)
HSLhsl(304.05 70.56% 45.29%)
OKLCHoklch(0.58 0.24 331.41)
CMYKcmyk(0% 82.74% 5.58% 22.75%)
Android#ffc522ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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