Skip to content
Vectorlight.net

#c021db

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

HEX
#c021db
RGB
192, 33, 219
HSL
291.29°, 73.81%, 49.41%
OKLCH
0.59 0.27 320.94
Names
—
Lists

Codes

FormatValue
HEX#c021db
RGBrgb(192 33 219)
HSLhsl(291.29 73.81% 49.41%)
OKLCHoklch(0.59 0.27 320.94)
CMYKcmyk(12.33% 84.93% 0% 14.12%)
Android#ffc021db

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#c021db"
Gradient stop
<stop stop-color="#c021db"/>
CSS variable + fill
:root { --c: #c021db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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