Skip to content
Vectorlight.net

#c831aa

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

HEX
#c831aa
RGB
200, 49, 170
HSL
311.92°, 60.64%, 48.82%
OKLCH
0.59 0.22 337.5
Names
—
Lists

Codes

FormatValue
HEX#c831aa
RGBrgb(200 49 170)
HSLhsl(311.92 60.64% 48.82%)
OKLCHoklch(0.59 0.22 337.5)
CMYKcmyk(0% 75.5% 15% 21.57%)
Android#ffc831aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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