Skip to content
Vectorlight.net

#c97dff

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

HEX
#c97dff
RGB
201, 125, 255
HSL
275.08°, 100%, 74.51%
OKLCH
0.72 0.19 309.35
Names
—
Lists

Codes

FormatValue
HEX#c97dff
RGBrgb(201 125 255)
HSLhsl(275.08 100% 74.51%)
OKLCHoklch(0.72 0.19 309.35)
CMYKcmyk(21.18% 50.98% 0% 0%)
Android#ffc97dff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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