Skip to content
Vectorlight.net

#c757aa

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

HEX
#c757aa
RGB
199, 87, 170
HSL
315.54°, 50%, 56.08%
OKLCH
0.62 0.17 338.63
Names
—
Lists

Codes

FormatValue
HEX#c757aa
RGBrgb(199 87 170)
HSLhsl(315.54 50% 56.08%)
OKLCHoklch(0.62 0.17 338.63)
CMYKcmyk(0% 56.28% 14.57% 21.96%)
Android#ffc757aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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