Skip to content
Vectorlight.net

#c981bf

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

HEX
#c981bf
RGB
201, 129, 191
HSL
308.33°, 40%, 64.71%
OKLCH
0.7 0.12 331.86
Names
—
Lists

Codes

FormatValue
HEX#c981bf
RGBrgb(201 129 191)
HSLhsl(308.33 40% 64.71%)
OKLCHoklch(0.7 0.12 331.86)
CMYKcmyk(0% 35.82% 4.98% 21.18%)
Android#ffc981bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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