Skip to content
Vectorlight.net

#c118ca

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

HEX
#c118ca
RGB
193, 24, 202
HSL
296.97°, 78.76%, 44.31%
OKLCH
0.58 0.26 325.78
Names
—
Lists

Codes

FormatValue
HEX#c118ca
RGBrgb(193 24 202)
HSLhsl(296.97 78.76% 44.31%)
OKLCHoklch(0.58 0.26 325.78)
CMYKcmyk(4.46% 88.12% 0% 20.78%)
Android#ffc118ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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