Skip to content
Vectorlight.net

#c124db

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

HEX
#c124db
RGB
193, 36, 219
HSL
291.48°, 71.76%, 50%
OKLCH
0.6 0.26 321.17
Names
—
Lists

Codes

FormatValue
HEX#c124db
RGBrgb(193 36 219)
HSLhsl(291.48 71.76% 50%)
OKLCHoklch(0.6 0.26 321.17)
CMYKcmyk(11.87% 83.56% 0% 14.12%)
Android#ffc124db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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