Skip to content
Vectorlight.net

#c331af

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

HEX
#c331af
RGB
195, 49, 175
HSL
308.22°, 59.84%, 47.84%
OKLCH
0.58 0.22 334.35
Names
—
Lists

Codes

FormatValue
HEX#c331af
RGBrgb(195 49 175)
HSLhsl(308.22 59.84% 47.84%)
OKLCHoklch(0.58 0.22 334.35)
CMYKcmyk(0% 74.87% 10.26% 23.53%)
Android#ffc331af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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