Skip to content
Vectorlight.net

#c98eee

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

HEX
#c98eee
RGB
201, 142, 238
HSL
276.88°, 73.85%, 74.51%
OKLCH
0.74 0.15 311.46
Names
—
Lists

Codes

FormatValue
HEX#c98eee
RGBrgb(201 142 238)
HSLhsl(276.88 73.85% 74.51%)
OKLCHoklch(0.74 0.15 311.46)
CMYKcmyk(15.55% 40.34% 0% 6.67%)
Android#ffc98eee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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