Skip to content
Vectorlight.net

#c31fca

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

HEX
#c31fca
RGB
195, 31, 202
HSL
297.54°, 73.39%, 45.69%
OKLCH
0.59 0.26 326.28
Names
—
Lists

Codes

FormatValue
HEX#c31fca
RGBrgb(195 31 202)
HSLhsl(297.54 73.39% 45.69%)
OKLCHoklch(0.59 0.26 326.28)
CMYKcmyk(3.47% 84.65% 0% 20.78%)
Android#ffc31fca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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