Skip to content
Vectorlight.net

#9855ca

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

HEX
#9855ca
RGB
152, 85, 202
HSL
274.36°, 52.47%, 56.27%
OKLCH
0.58 0.18 308.2
Names
—
Lists

Codes

FormatValue
HEX#9855ca
RGBrgb(152 85 202)
HSLhsl(274.36 52.47% 56.27%)
OKLCHoklch(0.58 0.18 308.2)
CMYKcmyk(24.75% 57.92% 0% 20.78%)
Android#ff9855ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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