Skip to content
Vectorlight.net

#c508ca

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

HEX
#c508ca
RGB
197, 8, 202
HSL
298.45°, 92.38%, 41.18%
OKLCH
0.58 0.27 326.99
Names
—
Lists

Codes

FormatValue
HEX#c508ca
RGBrgb(197 8 202)
HSLhsl(298.45 92.38% 41.18%)
OKLCHoklch(0.58 0.27 326.99)
CMYKcmyk(2.48% 96.04% 0% 20.78%)
Android#ffc508ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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