Skip to content
Vectorlight.net

#cb56cb

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

HEX
#cb56cb
RGB
203, 86, 203
HSL
300°, 52.94%, 56.67%
OKLCH
0.64 0.2 327.61
Names
—
Lists

Codes

FormatValue
HEX#cb56cb
RGBrgb(203 86 203)
HSLhsl(300 52.94% 56.67%)
OKLCHoklch(0.64 0.2 327.61)
CMYKcmyk(0% 57.64% 0% 20.39%)
Android#ffcb56cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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