Skip to content
Vectorlight.net

#c508aa

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

HEX
#c508aa
RGB
197, 8, 170
HSL
308.57°, 92.2%, 40.2%
OKLCH
0.56 0.25 336.24
Names
—
Lists

Codes

FormatValue
HEX#c508aa
RGBrgb(197 8 170)
HSLhsl(308.57 92.2% 40.2%)
OKLCHoklch(0.56 0.25 336.24)
CMYKcmyk(0% 95.94% 13.71% 22.75%)
Android#ffc508aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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