Skip to content
Vectorlight.net

#c157bb

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

HEX
#c157bb
RGB
193, 87, 187
HSL
303.4°, 46.09%, 54.9%
OKLCH
0.62 0.18 329.7
Names
—
Lists

Codes

FormatValue
HEX#c157bb
RGBrgb(193 87 187)
HSLhsl(303.4 46.09% 54.9%)
OKLCHoklch(0.62 0.18 329.7)
CMYKcmyk(0% 54.92% 3.11% 24.31%)
Android#ffc157bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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