Skip to content
Vectorlight.net

#c171ea

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

HEX
#c171ea
RGB
193, 113, 234
HSL
279.67°, 74.23%, 68.04%
OKLCH
0.68 0.19 313
Names
—
Lists

Codes

FormatValue
HEX#c171ea
RGBrgb(193 113 234)
HSLhsl(279.67 74.23% 68.04%)
OKLCHoklch(0.68 0.19 313)
CMYKcmyk(17.52% 51.71% 0% 8.24%)
Android#ffc171ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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