Skip to content
Vectorlight.net

#8f06ac

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

HEX
#8f06ac
RGB
143, 6, 172
HSL
289.52°, 93.26%, 34.9%
OKLCH
0.48 0.23 318.58
Names
—
Lists

Codes

FormatValue
HEX#8f06ac
RGBrgb(143 6 172)
HSLhsl(289.52 93.26% 34.9%)
OKLCHoklch(0.48 0.23 318.58)
CMYKcmyk(16.86% 96.51% 0% 32.55%)
Android#ff8f06ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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