Skip to content
Vectorlight.net

#c727aa

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

HEX
#c727aa
RGB
199, 39, 170
HSL
310.88°, 67.23%, 46.67%
OKLCH
0.58 0.23 337.04
Names
—
Lists

Codes

FormatValue
HEX#c727aa
RGBrgb(199 39 170)
HSLhsl(310.88 67.23% 46.67%)
OKLCHoklch(0.58 0.23 337.04)
CMYKcmyk(0% 80.4% 14.57% 21.96%)
Android#ffc727aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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