Skip to content
Vectorlight.net

#9876ca

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

HEX
#9876ca
RGB
152, 118, 202
HSL
264.29°, 44.21%, 62.75%
OKLCH
0.63 0.13 301.53
Names
—
Lists

Codes

FormatValue
HEX#9876ca
RGBrgb(152 118 202)
HSLhsl(264.29 44.21% 62.75%)
OKLCHoklch(0.63 0.13 301.53)
CMYKcmyk(24.75% 41.58% 0% 20.78%)
Android#ff9876ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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