Skip to content
Vectorlight.net

#c504aa

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

HEX
#c504aa
RGB
197, 4, 170
HSL
308.39°, 96.02%, 39.41%
OKLCH
0.56 0.25 336.22
Names
—
Lists

Codes

FormatValue
HEX#c504aa
RGBrgb(197 4 170)
HSLhsl(308.39 96.02% 39.41%)
OKLCHoklch(0.56 0.25 336.22)
CMYKcmyk(0% 97.97% 13.71% 22.75%)
Android#ffc504aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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