Skip to content
Vectorlight.net

#cb5397

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

HEX
#cb5397
RGB
203, 83, 151
HSL
326°, 53.57%, 56.08%
OKLCH
0.62 0.17 348.08
Names
—
Lists

Codes

FormatValue
HEX#cb5397
RGBrgb(203 83 151)
HSLhsl(326 53.57% 56.08%)
OKLCHoklch(0.62 0.17 348.08)
CMYKcmyk(0% 59.11% 25.62% 20.39%)
Android#ffcb5397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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