Skip to content
Vectorlight.net

#cb97d6

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

HEX
#cb97d6
RGB
203, 151, 214
HSL
289.52°, 43.45%, 71.57%
OKLCH
0.75 0.11 320.42
Names
—
Lists

Codes

FormatValue
HEX#cb97d6
RGBrgb(203 151 214)
HSLhsl(289.52 43.45% 71.57%)
OKLCHoklch(0.75 0.11 320.42)
CMYKcmyk(5.14% 29.44% 0% 16.08%)
Android#ffcb97d6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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