Skip to content
Vectorlight.net

#9852da

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

HEX
#9852da
RGB
152, 82, 218
HSL
270.88°, 64.76%, 58.82%
OKLCH
0.59 0.2 304.57
Names
—
Lists

Codes

FormatValue
HEX#9852da
RGBrgb(152 82 218)
HSLhsl(270.88 64.76% 58.82%)
OKLCHoklch(0.59 0.2 304.57)
CMYKcmyk(30.28% 62.39% 0% 14.51%)
Android#ff9852da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9852da;
background-color: #9852da;
bg-[#9852da]