Skip to content
Vectorlight.net

#9810fa

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

HEX
#9810fa
RGB
152, 16, 250
HSL
274.87°, 95.9%, 52.16%
OKLCH
0.56 0.29 302.3
Names
—
Lists

Codes

FormatValue
HEX#9810fa
RGBrgb(152 16 250)
HSLhsl(274.87 95.9% 52.16%)
OKLCHoklch(0.56 0.29 302.3)
CMYKcmyk(39.2% 93.6% 0% 1.96%)
Android#ff9810fa

Names & lists

Web-safe: No

Tailwind: purple-600

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9810fa;
background-color: #9810fa;
bg-[#9810fa]