Skip to content
Vectorlight.net

#c97bde

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

HEX
#c97bde
RGB
201, 123, 222
HSL
287.27°, 60%, 67.65%
OKLCH
0.7 0.16 318.88
Names
—
Lists

Codes

FormatValue
HEX#c97bde
RGBrgb(201 123 222)
HSLhsl(287.27 60% 67.65%)
OKLCHoklch(0.7 0.16 318.88)
CMYKcmyk(9.46% 44.59% 0% 12.94%)
Android#ffc97bde

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

Recolor an SVG with this color

CSS

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