Skip to content
Vectorlight.net

#c754aa

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

HEX
#c754aa
RGB
199, 84, 170
HSL
315.13°, 50.66%, 55.49%
OKLCH
0.62 0.18 338.46
Names
—
Lists

Codes

FormatValue
HEX#c754aa
RGBrgb(199 84 170)
HSLhsl(315.13 50.66% 55.49%)
OKLCHoklch(0.62 0.18 338.46)
CMYKcmyk(0% 57.79% 14.57% 21.96%)
Android#ffc754aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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