Skip to content
Vectorlight.net

#c318da

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

HEX
#c318da
RGB
195, 24, 218
HSL
292.89°, 80.17%, 47.45%
OKLCH
0.59 0.27 322.18
Names
—
Lists

Codes

FormatValue
HEX#c318da
RGBrgb(195 24 218)
HSLhsl(292.89 80.17% 47.45%)
OKLCHoklch(0.59 0.27 322.18)
CMYKcmyk(10.55% 88.99% 0% 14.51%)
Android#ffc318da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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