Skip to content
Vectorlight.net

#c98bec

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

HEX
#c98bec
RGB
201, 139, 236
HSL
278.35°, 71.85%, 73.53%
OKLCH
0.73 0.15 312.53
Names
—
Lists

Codes

FormatValue
HEX#c98bec
RGBrgb(201 139 236)
HSLhsl(278.35 71.85% 73.53%)
OKLCHoklch(0.73 0.15 312.53)
CMYKcmyk(14.83% 41.1% 0% 7.45%)
Android#ffc98bec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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