Skip to content
Vectorlight.net

#8947fb

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

HEX
#8947fb
RGB
137, 71, 251
HSL
262°, 95.74%, 63.14%
OKLCH
0.58 0.25 293.93
Names
—
Lists

Codes

FormatValue
HEX#8947fb
RGBrgb(137 71 251)
HSLhsl(262 95.74% 63.14%)
OKLCHoklch(0.58 0.25 293.93)
CMYKcmyk(45.42% 71.71% 0% 1.57%)
Android#ff8947fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8947fb;
background-color: #8947fb;
bg-[#8947fb]