Skip to content
Vectorlight.net

#c97ddb

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

HEX
#c97ddb
RGB
201, 125, 219
HSL
288.51°, 56.63%, 67.45%
OKLCH
0.7 0.15 319.75
Names
—
Lists

Codes

FormatValue
HEX#c97ddb
RGBrgb(201 125 219)
HSLhsl(288.51 56.63% 67.45%)
OKLCHoklch(0.7 0.15 319.75)
CMYKcmyk(8.22% 42.92% 0% 14.12%)
Android#ffc97ddb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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