Skip to content
Vectorlight.net

#8e70bc

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

HEX
#8e70bc
RGB
142, 112, 188
HSL
263.68°, 36.19%, 58.82%
OKLCH
0.61 0.12 301.19
Names
—
Lists

Codes

FormatValue
HEX#8e70bc
RGBrgb(142 112 188)
HSLhsl(263.68 36.19% 58.82%)
OKLCHoklch(0.61 0.12 301.19)
CMYKcmyk(24.47% 40.43% 0% 26.27%)
Android#ff8e70bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.04:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.19:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#8e70bc"
Gradient stop
<stop stop-color="#8e70bc"/>
CSS variable + fill
:root { --c: #8e70bc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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