Skip to content
Vectorlight.net

#cb56ef

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

HEX
#cb56ef
RGB
203, 86, 239
HSL
285.88°, 82.7%, 63.73%
OKLCH
0.66 0.23 317.33
Names
—
Lists

Codes

FormatValue
HEX#cb56ef
RGBrgb(203 86 239)
HSLhsl(285.88 82.7% 63.73%)
OKLCHoklch(0.66 0.23 317.33)
CMYKcmyk(15.06% 64.02% 0% 6.27%)
Android#ffcb56ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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