Skip to content
Vectorlight.net

#c028d9

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

HEX
#c028d9
RGB
192, 40, 217
HSL
291.53°, 69.96%, 50.39%
OKLCH
0.6 0.26 321.3
Names
—
Lists

Codes

FormatValue
HEX#c028d9
RGBrgb(192 40 217)
HSLhsl(291.53 69.96% 50.39%)
OKLCHoklch(0.6 0.26 321.3)
CMYKcmyk(11.52% 81.57% 0% 14.9%)
Android#ffc028d9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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