Skip to content
Vectorlight.net

#8a34de

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

HEX
#8a34de
RGB
138, 52, 222
HSL
270.35°, 72.03%, 53.73%
OKLCH
0.54 0.24 301.55
Names
—
Lists

Codes

FormatValue
HEX#8a34de
RGBrgb(138 52 222)
HSLhsl(270.35 72.03% 53.73%)
OKLCHoklch(0.54 0.24 301.55)
CMYKcmyk(37.84% 76.58% 0% 12.94%)
Android#ff8a34de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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