Skip to content
Vectorlight.net

#c508d3

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

HEX
#c508d3
RGB
197, 8, 211
HSL
295.86°, 92.69%, 42.94%
OKLCH
0.59 0.27 324.64
Names
—
Lists

Codes

FormatValue
HEX#c508d3
RGBrgb(197 8 211)
HSLhsl(295.86 92.69% 42.94%)
OKLCHoklch(0.59 0.27 324.64)
CMYKcmyk(6.64% 96.21% 0% 17.25%)
Android#ffc508d3

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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