Skip to content
Vectorlight.net

#8f18ca

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

HEX
#8f18ca
RGB
143, 24, 202
HSL
280.11°, 78.76%, 44.31%
OKLCH
0.51 0.24 309.75
Names
—
Lists

Codes

FormatValue
HEX#8f18ca
RGBrgb(143 24 202)
HSLhsl(280.11 78.76% 44.31%)
OKLCHoklch(0.51 0.24 309.75)
CMYKcmyk(29.21% 88.12% 0% 20.78%)
Android#ff8f18ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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