Skip to content
Vectorlight.net

#c581ec

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

HEX
#c581ec
RGB
197, 129, 236
HSL
278.13°, 73.79%, 71.57%
OKLCH
0.71 0.16 312.15
Names
—
Lists

Codes

FormatValue
HEX#c581ec
RGBrgb(197 129 236)
HSLhsl(278.13 73.79% 71.57%)
OKLCHoklch(0.71 0.16 312.15)
CMYKcmyk(16.53% 45.34% 0% 7.45%)
Android#ffc581ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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