Skip to content
Vectorlight.net

#c31bdb

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

HEX
#c31bdb
RGB
195, 27, 219
HSL
292.5°, 78.05%, 48.24%
OKLCH
0.6 0.27 321.89
Names
—
Lists

Codes

FormatValue
HEX#c31bdb
RGBrgb(195 27 219)
HSLhsl(292.5 78.05% 48.24%)
OKLCHoklch(0.6 0.27 321.89)
CMYKcmyk(10.96% 87.67% 0% 14.12%)
Android#ffc31bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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