Skip to content
Vectorlight.net

#c128de

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

HEX
#c128de
RGB
193, 40, 222
HSL
290.44°, 73.39%, 51.37%
OKLCH
0.6 0.26 320.33
Names
—
Lists

Codes

FormatValue
HEX#c128de
RGBrgb(193 40 222)
HSLhsl(290.44 73.39% 51.37%)
OKLCHoklch(0.6 0.26 320.33)
CMYKcmyk(13.06% 81.98% 0% 12.94%)
Android#ffc128de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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