Skip to content
Vectorlight.net

#c54daa

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

HEX
#c54daa
RGB
197, 77, 170
HSL
313.5°, 50.85%, 53.73%
OKLCH
0.61 0.19 337.44
Names
—
Lists

Codes

FormatValue
HEX#c54daa
RGBrgb(197 77 170)
HSLhsl(313.5 50.85% 53.73%)
OKLCHoklch(0.61 0.19 337.44)
CMYKcmyk(0% 60.91% 13.71% 22.75%)
Android#ffc54daa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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