Skip to content
Vectorlight.net

#c97ecd

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

HEX
#c97ecd
RGB
201, 126, 205
HSL
296.96°, 44.13%, 64.9%
OKLCH
0.7 0.14 325.14
Names
—
Lists

Codes

FormatValue
HEX#c97ecd
RGBrgb(201 126 205)
HSLhsl(296.96 44.13% 64.9%)
OKLCHoklch(0.7 0.14 325.14)
CMYKcmyk(1.95% 38.54% 0% 19.61%)
Android#ffc97ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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