Skip to content
Vectorlight.net

#c97bdc

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

HEX
#c97bdc
RGB
201, 123, 220
HSL
288.25°, 58.08%, 67.25%
OKLCH
0.7 0.16 319.56
Names
—
Lists

Codes

FormatValue
HEX#c97bdc
RGBrgb(201 123 220)
HSLhsl(288.25 58.08% 67.25%)
OKLCHoklch(0.7 0.16 319.56)
CMYKcmyk(8.64% 44.09% 0% 13.73%)
Android#ffc97bdc

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

Recolor an SVG with this color

CSS

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