Skip to content
Vectorlight.net

#9822bd

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

HEX
#9822bd
RGB
152, 34, 189
HSL
285.68°, 69.51%, 43.73%
OKLCH
0.52 0.23 316.09
Names
—
Lists

Codes

FormatValue
HEX#9822bd
RGBrgb(152 34 189)
HSLhsl(285.68 69.51% 43.73%)
OKLCHoklch(0.52 0.23 316.09)
CMYKcmyk(19.58% 82.01% 0% 25.88%)
Android#ff9822bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9822bd;
background-color: #9822bd;
bg-[#9822bd]