Skip to content
Vectorlight.net

#c172af

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

HEX
#c172af
RGB
193, 114, 175
HSL
313.67°, 38.92%, 60.2%
OKLCH
0.66 0.13 335.86
Names
—
Lists

Codes

FormatValue
HEX#c172af
RGBrgb(193 114 175)
HSLhsl(313.67 38.92% 60.2%)
OKLCHoklch(0.66 0.13 335.86)
CMYKcmyk(0% 40.93% 9.33% 24.31%)
Android#ffc172af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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