Skip to content
Vectorlight.net

#c54eec

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

HEX
#c54eec
RGB
197, 78, 236
HSL
285.19°, 80.61%, 61.57%
OKLCH
0.65 0.24 316.63
Names
—
Lists

Codes

FormatValue
HEX#c54eec
RGBrgb(197 78 236)
HSLhsl(285.19 80.61% 61.57%)
OKLCHoklch(0.65 0.24 316.63)
CMYKcmyk(16.53% 66.95% 0% 7.45%)
Android#ffc54eec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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