Skip to content
Vectorlight.net

#9811dc

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

HEX
#9811dc
RGB
152, 17, 220
HSL
279.9°, 85.65%, 46.47%
OKLCH
0.53 0.26 308.69
Names
—
Lists

Codes

FormatValue
HEX#9811dc
RGBrgb(152 17 220)
HSLhsl(279.9 85.65% 46.47%)
OKLCHoklch(0.53 0.26 308.69)
CMYKcmyk(30.91% 92.27% 0% 13.73%)
Android#ff9811dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9811dc;
background-color: #9811dc;
bg-[#9811dc]