Skip to content
Vectorlight.net

#c581ff

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

HEX
#c581ff
RGB
197, 129, 255
HSL
272.38°, 100%, 75.29%
OKLCH
0.72 0.19 307.29
Names
—
Lists

Codes

FormatValue
HEX#c581ff
RGBrgb(197 129 255)
HSLhsl(272.38 100% 75.29%)
OKLCHoklch(0.72 0.19 307.29)
CMYKcmyk(22.75% 49.41% 0% 0%)
Android#ffc581ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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