Skip to content
Vectorlight.net

#c522b7

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

HEX
#c522b7
RGB
197, 34, 183
HSL
305.15°, 70.56%, 45.29%
OKLCH
0.58 0.24 332.31
Names
—
Lists

Codes

FormatValue
HEX#c522b7
RGBrgb(197 34 183)
HSLhsl(305.15 70.56% 45.29%)
OKLCHoklch(0.58 0.24 332.31)
CMYKcmyk(0% 82.74% 7.11% 22.75%)
Android#ffc522b7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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