Skip to content
Vectorlight.net

#9869cb

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

HEX
#9869cb
RGB
152, 105, 203
HSL
268.78°, 48.51%, 60.39%
OKLCH
0.61 0.15 304.49
Names
—
Lists

Codes

FormatValue
HEX#9869cb
RGBrgb(152 105 203)
HSLhsl(268.78 48.51% 60.39%)
OKLCHoklch(0.61 0.15 304.49)
CMYKcmyk(25.12% 48.28% 0% 20.39%)
Android#ff9869cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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