Skip to content
Vectorlight.net

#c02fdd

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

HEX
#c02fdd
RGB
192, 47, 221
HSL
290°, 71.9%, 52.55%
OKLCH
0.6 0.26 320.11
Names
—
Lists

Codes

FormatValue
HEX#c02fdd
RGBrgb(192 47 221)
HSLhsl(290 71.9% 52.55%)
OKLCHoklch(0.6 0.26 320.11)
CMYKcmyk(13.12% 78.73% 0% 13.33%)
Android#ffc02fdd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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