Skip to content
Vectorlight.net

#c510aa

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

HEX
#c510aa
RGB
197, 16, 170
HSL
308.95°, 84.98%, 41.76%
OKLCH
0.57 0.24 336.27
Names
—
Lists

Codes

FormatValue
HEX#c510aa
RGBrgb(197 16 170)
HSLhsl(308.95 84.98% 41.76%)
OKLCHoklch(0.57 0.24 336.27)
CMYKcmyk(0% 91.88% 13.71% 22.75%)
Android#ffc510aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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