Skip to content
Vectorlight.net

#cb42dd

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

HEX
#cb42dd
RGB
203, 66, 221
HSL
293.03°, 69.51%, 56.27%
OKLCH
0.63 0.24 322.82
Names
—
Lists

Codes

FormatValue
HEX#cb42dd
RGBrgb(203 66 221)
HSLhsl(293.03 69.51% 56.27%)
OKLCHoklch(0.63 0.24 322.82)
CMYKcmyk(8.14% 70.14% 0% 13.33%)
Android#ffcb42dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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