Skip to content
Vectorlight.net

#c831ac

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

HEX
#c831ac
RGB
200, 49, 172
HSL
311.13°, 60.64%, 48.82%
OKLCH
0.59 0.22 336.82
Names
—
Lists

Codes

FormatValue
HEX#c831ac
RGBrgb(200 49 172)
HSLhsl(311.13 60.64% 48.82%)
OKLCHoklch(0.59 0.22 336.82)
CMYKcmyk(0% 75.5% 14% 21.57%)
Android#ffc831ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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