Skip to content
Vectorlight.net

#c31fda

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

HEX
#c31fda
RGB
195, 31, 218
HSL
292.62°, 75.1%, 48.82%
OKLCH
0.6 0.27 322.08
Names
—
Lists

Codes

FormatValue
HEX#c31fda
RGBrgb(195 31 218)
HSLhsl(292.62 75.1% 48.82%)
OKLCHoklch(0.6 0.27 322.08)
CMYKcmyk(10.55% 85.78% 0% 14.51%)
Android#ffc31fda

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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