Skip to content
Vectorlight.net

#c97eca

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

HEX
#c97eca
RGB
201, 126, 202
HSL
299.21°, 41.76%, 64.31%
OKLCH
0.7 0.14 326.45
Names
—
Lists

Codes

FormatValue
HEX#c97eca
RGBrgb(201 126 202)
HSLhsl(299.21 41.76% 64.31%)
OKLCHoklch(0.7 0.14 326.45)
CMYKcmyk(0.5% 37.62% 0% 20.78%)
Android#ffc97eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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