Skip to content
Vectorlight.net

#8a4dfa

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

HEX
#8a4dfa
RGB
138, 77, 250
HSL
261.16°, 94.54%, 64.12%
OKLCH
0.59 0.24 293.77
Names
—
Lists

Codes

FormatValue
HEX#8a4dfa
RGBrgb(138 77 250)
HSLhsl(261.16 94.54% 64.12%)
OKLCHoklch(0.59 0.24 293.77)
CMYKcmyk(44.8% 69.2% 0% 1.96%)
Android#ff8a4dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8a4dfa;
background-color: #8a4dfa;
bg-[#8a4dfa]