Skip to content
Vectorlight.net

#cb56db

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

HEX
#cb56db
RGB
203, 86, 219
HSL
292.78°, 64.88%, 59.8%
OKLCH
0.65 0.22 322.7
Names
—
Lists

Codes

FormatValue
HEX#cb56db
RGBrgb(203 86 219)
HSLhsl(292.78 64.88% 59.8%)
OKLCHoklch(0.65 0.22 322.7)
CMYKcmyk(7.31% 60.73% 0% 14.12%)
Android#ffcb56db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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