Skip to content
Vectorlight.net

#9902cf

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

HEX
#9902cf
RGB
153, 2, 207
HSL
284.2°, 98.09%, 40.98%
OKLCH
0.52 0.26 312.44
Names
—
Lists

Codes

FormatValue
HEX#9902cf
RGBrgb(153 2 207)
HSLhsl(284.2 98.09% 40.98%)
OKLCHoklch(0.52 0.26 312.44)
CMYKcmyk(26.09% 99.03% 0% 18.82%)
Android#ff9902cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.26:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #9902cf;
background-color: #9902cf;
bg-[#9902cf]