Skip to content
Vectorlight.net

#8747fa

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

HEX
#8747fa
RGB
135, 71, 250
HSL
261.45°, 94.71%, 62.94%
OKLCH
0.58 0.25 293.41
Names
—
Lists

Codes

FormatValue
HEX#8747fa
RGBrgb(135 71 250)
HSLhsl(261.45 94.71% 62.94%)
OKLCHoklch(0.58 0.25 293.41)
CMYKcmyk(46% 71.6% 0% 1.96%)
Android#ff8747fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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