Skip to content
Vectorlight.net

#cb22db

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

HEX
#cb22db
RGB
203, 34, 219
HSL
294.81°, 73.12%, 49.61%
OKLCH
0.61 0.27 324.01
Names
—
Lists

Codes

FormatValue
HEX#cb22db
RGBrgb(203 34 219)
HSLhsl(294.81 73.12% 49.61%)
OKLCHoklch(0.61 0.27 324.01)
CMYKcmyk(7.31% 84.47% 0% 14.12%)
Android#ffcb22db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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