Skip to content
Vectorlight.net

#8f5fed

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

HEX
#8f5fed
RGB
143, 95, 237
HSL
260.28°, 79.78%, 65.1%
OKLCH
0.61 0.2 295.19
Names
—
Lists

Codes

FormatValue
HEX#8f5fed
RGBrgb(143 95 237)
HSLhsl(260.28 79.78% 65.1%)
OKLCHoklch(0.61 0.2 295.19)
CMYKcmyk(39.66% 59.92% 0% 7.06%)
Android#ff8f5fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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