Skip to content
Vectorlight.net

#9806ca

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

HEX
#9806ca
RGB
152, 6, 202
HSL
284.69°, 94.23%, 40.78%
OKLCH
0.51 0.25 313.31
Names
—
Lists

Codes

FormatValue
HEX#9806ca
RGBrgb(152 6 202)
HSLhsl(284.69 94.23% 40.78%)
OKLCHoklch(0.51 0.25 313.31)
CMYKcmyk(24.75% 97.03% 0% 20.78%)
Android#ff9806ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9806ca;
background-color: #9806ca;
bg-[#9806ca]