Skip to content
Vectorlight.net

#c97ecf

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

HEX
#c97ecf
RGB
201, 126, 207
HSL
295.56°, 45.76%, 65.29%
OKLCH
0.7 0.14 324.3
Names
—
Lists

Codes

FormatValue
HEX#c97ecf
RGBrgb(201 126 207)
HSLhsl(295.56 45.76% 65.29%)
OKLCHoklch(0.7 0.14 324.3)
CMYKcmyk(2.9% 39.13% 0% 18.82%)
Android#ffc97ecf

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

Recolor an SVG with this color

CSS

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