Skip to content
Vectorlight.net

#c97eef

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

HEX
#c97eef
RGB
201, 126, 239
HSL
279.82°, 77.93%, 71.57%
OKLCH
0.71 0.17 313.35
Names
—
Lists

Codes

FormatValue
HEX#c97eef
RGBrgb(201 126 239)
HSLhsl(279.82 77.93% 71.57%)
OKLCHoklch(0.71 0.17 313.35)
CMYKcmyk(15.9% 47.28% 0% 6.27%)
Android#ffc97eef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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