Skip to content
Vectorlight.net

#c508ab

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

HEX
#c508ab
RGB
197, 8, 171
HSL
308.25°, 92.2%, 40.2%
OKLCH
0.56 0.25 335.92
Names
—
Lists

Codes

FormatValue
HEX#c508ab
RGBrgb(197 8 171)
HSLhsl(308.25 92.2% 40.2%)
OKLCHoklch(0.56 0.25 335.92)
CMYKcmyk(0% 95.94% 13.2% 22.75%)
Android#ffc508ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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