Skip to content
Vectorlight.net

#c171af

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

HEX
#c171af
RGB
193, 113, 175
HSL
313.5°, 39.22%, 60%
OKLCH
0.66 0.13 335.78
Names
—
Lists

Codes

FormatValue
HEX#c171af
RGBrgb(193 113 175)
HSLhsl(313.5 39.22% 60%)
OKLCHoklch(0.66 0.13 335.78)
CMYKcmyk(0% 41.45% 9.33% 24.31%)
Android#ffc171af

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.36:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.24:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c171af"
Gradient stop
<stop stop-color="#c171af"/>
CSS variable + fill
:root { --c: #c171af; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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