Skip to content
Vectorlight.net

#c57aed

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

HEX
#c57aed
RGB
197, 122, 237
HSL
279.13°, 76.16%, 70.39%
OKLCH
0.7 0.18 312.75
Names
—
Lists

Codes

FormatValue
HEX#c57aed
RGBrgb(197 122 237)
HSLhsl(279.13 76.16% 70.39%)
OKLCHoklch(0.7 0.18 312.75)
CMYKcmyk(16.88% 48.52% 0% 7.06%)
Android#ffc57aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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