Skip to content
Vectorlight.net

#c157db

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

HEX
#c157db
RGB
193, 87, 219
HSL
288.18°, 64.71%, 60%
OKLCH
0.64 0.21 319.28
Names
—
Lists

Codes

FormatValue
HEX#c157db
RGBrgb(193 87 219)
HSLhsl(288.18 64.71% 60%)
OKLCHoklch(0.64 0.21 319.28)
CMYKcmyk(11.87% 60.27% 0% 14.12%)
Android#ffc157db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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