Skip to content
Vectorlight.net

#9808cb

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

HEX
#9808cb
RGB
152, 8, 203
HSL
284.31°, 92.42%, 41.37%
OKLCH
0.52 0.25 313.02
Names
—
Lists

Codes

FormatValue
HEX#9808cb
RGBrgb(152 8 203)
HSLhsl(284.31 92.42% 41.37%)
OKLCHoklch(0.52 0.25 313.02)
CMYKcmyk(25.12% 96.06% 0% 20.39%)
Android#ff9808cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9808cb;
background-color: #9808cb;
bg-[#9808cb]