Skip to content
Vectorlight.net

#cb12da

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

HEX
#cb12da
RGB
203, 18, 218
HSL
295.5°, 84.75%, 46.27%
OKLCH
0.6 0.28 324.43
Names
—
Lists

Codes

FormatValue
HEX#cb12da
RGBrgb(203 18 218)
HSLhsl(295.5 84.75% 46.27%)
OKLCHoklch(0.6 0.28 324.43)
CMYKcmyk(6.88% 91.74% 0% 14.51%)
Android#ffcb12da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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