Skip to content
Vectorlight.net

#9865dd

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

HEX
#9865dd
RGB
152, 101, 221
HSL
265.5°, 63.83%, 63.14%
OKLCH
0.62 0.18 300.92
Names
—
Lists

Codes

FormatValue
HEX#9865dd
RGBrgb(152 101 221)
HSLhsl(265.5 63.83% 63.14%)
OKLCHoklch(0.62 0.18 300.92)
CMYKcmyk(31.22% 54.3% 0% 13.33%)
Android#ff9865dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9865dd;
background-color: #9865dd;
bg-[#9865dd]