Skip to content
Vectorlight.net

#c161f4

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

HEX
#c161f4
RGB
193, 97, 244
HSL
279.18°, 86.98%, 66.86%
OKLCH
0.67 0.22 312.03
Names
—
Lists

Codes

FormatValue
HEX#c161f4
RGBrgb(193 97 244)
HSLhsl(279.18 86.98% 66.86%)
OKLCHoklch(0.67 0.22 312.03)
CMYKcmyk(20.9% 60.25% 0% 4.31%)
Android#ffc161f4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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