Skip to content
Vectorlight.net

#cb38eb

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

HEX
#cb38eb
RGB
203, 56, 235
HSL
289.27°, 81.74%, 57.06%
OKLCH
0.63 0.26 319.59
Names
—
Lists

Codes

FormatValue
HEX#cb38eb
RGBrgb(203 56 235)
HSLhsl(289.27 81.74% 57.06%)
OKLCHoklch(0.63 0.26 319.59)
CMYKcmyk(13.62% 76.17% 0% 7.84%)
Android#ffcb38eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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