Skip to content
Vectorlight.net

#c172dc

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

HEX
#c172dc
RGB
193, 114, 220
HSL
284.72°, 60.23%, 65.49%
OKLCH
0.68 0.17 316.99
Names
—
Lists

Codes

FormatValue
HEX#c172dc
RGBrgb(193 114 220)
HSLhsl(284.72 60.23% 65.49%)
OKLCHoklch(0.68 0.17 316.99)
CMYKcmyk(12.27% 48.18% 0% 13.73%)
Android#ffc172dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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