Skip to content
Vectorlight.net

#c538ab

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

HEX
#c538ab
RGB
197, 56, 171
HSL
311.06°, 55.73%, 49.61%
OKLCH
0.59 0.21 336.42
Names
—
Lists

Codes

FormatValue
HEX#c538ab
RGBrgb(197 56 171)
HSLhsl(311.06 55.73% 49.61%)
OKLCHoklch(0.59 0.21 336.42)
CMYKcmyk(0% 71.57% 13.2% 22.75%)
Android#ffc538ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c538ab"
Gradient stop
<stop stop-color="#c538ab"/>
CSS variable + fill
:root { --c: #c538ab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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