Skip to content
Vectorlight.net

#c98aff

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

HEX
#c98aff
RGB
201, 138, 255
HSL
272.31°, 100%, 77.06%
OKLCH
0.74 0.17 307.53
Names
—
Lists

Codes

FormatValue
HEX#c98aff
RGBrgb(201 138 255)
HSLhsl(272.31 100% 77.06%)
OKLCHoklch(0.74 0.17 307.53)
CMYKcmyk(21.18% 45.88% 0% 0%)
Android#ffc98aff

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.56: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="#c98aff"
Gradient stop
<stop stop-color="#c98aff"/>
CSS variable + fill
:root { --c: #c98aff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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