Skip to content
Vectorlight.net

#c97bdd

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

HEX
#c97bdd
RGB
201, 123, 221
HSL
287.76°, 59.04%, 67.45%
OKLCH
0.7 0.16 319.22
Names
—
Lists

Codes

FormatValue
HEX#c97bdd
RGBrgb(201 123 221)
HSLhsl(287.76 59.04% 67.45%)
OKLCHoklch(0.7 0.16 319.22)
CMYKcmyk(9.05% 44.34% 0% 13.33%)
Android#ffc97bdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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