Skip to content
Vectorlight.net

#c831ab

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

HEX
#c831ab
RGB
200, 49, 171
HSL
311.52°, 60.64%, 48.82%
OKLCH
0.59 0.22 337.16
Names
—
Lists

Codes

FormatValue
HEX#c831ab
RGBrgb(200 49 171)
HSLhsl(311.52 60.64% 48.82%)
OKLCHoklch(0.59 0.22 337.16)
CMYKcmyk(0% 75.5% 14.5% 21.57%)
Android#ffc831ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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