Skip to content
Vectorlight.net

#c751aa

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

HEX
#c751aa
RGB
199, 81, 170
HSL
314.75°, 51.3%, 54.9%
OKLCH
0.62 0.18 338.29
Names
—
Lists

Codes

FormatValue
HEX#c751aa
RGBrgb(199 81 170)
HSLhsl(314.75 51.3% 54.9%)
OKLCHoklch(0.62 0.18 338.29)
CMYKcmyk(0% 59.3% 14.57% 21.96%)
Android#ffc751aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.18:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#c751aa"
Gradient stop
<stop stop-color="#c751aa"/>
CSS variable + fill
:root { --c: #c751aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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