Skip to content
Vectorlight.net

#c172ec

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

HEX
#c172ec
RGB
193, 114, 236
HSL
278.85°, 76.25%, 68.63%
OKLCH
0.69 0.19 312.35
Names
—
Lists

Codes

FormatValue
HEX#c172ec
RGBrgb(193 114 236)
HSLhsl(278.85 76.25% 68.63%)
OKLCHoklch(0.69 0.19 312.35)
CMYKcmyk(18.22% 51.69% 0% 7.45%)
Android#ffc172ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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