Skip to content
Vectorlight.net

#c170ce

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

HEX
#c170ce
RGB
193, 112, 206
HSL
291.7°, 48.96%, 62.35%
OKLCH
0.67 0.16 321.91
Names
—
Lists

Codes

FormatValue
HEX#c170ce
RGBrgb(193 112 206)
HSLhsl(291.7 48.96% 62.35%)
OKLCHoklch(0.67 0.16 321.91)
CMYKcmyk(6.31% 45.63% 0% 19.22%)
Android#ffc170ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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