Skip to content
Vectorlight.net

#c028db

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

HEX
#c028db
RGB
192, 40, 219
HSL
290.95°, 71.31%, 50.78%
OKLCH
0.6 0.26 320.79
Names
—
Lists

Codes

FormatValue
HEX#c028db
RGBrgb(192 40 219)
HSLhsl(290.95 71.31% 50.78%)
OKLCHoklch(0.6 0.26 320.79)
CMYKcmyk(12.33% 81.74% 0% 14.12%)
Android#ffc028db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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