Skip to content
Vectorlight.net

#c98def

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

HEX
#c98def
RGB
201, 141, 239
HSL
276.73°, 75.38%, 74.51%
OKLCH
0.74 0.15 311.32
Names
—
Lists

Codes

FormatValue
HEX#c98def
RGBrgb(201 141 239)
HSLhsl(276.73 75.38% 74.51%)
OKLCHoklch(0.74 0.15 311.32)
CMYKcmyk(15.9% 41% 0% 6.27%)
Android#ffc98def

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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