Skip to content
Vectorlight.net

#f158ef

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

HEX
#f158ef
RGB
241, 88, 239
HSL
300.78°, 84.53%, 64.51%
OKLCH
0.72 0.25 328.33
Names
—
Lists

Codes

FormatValue
HEX#f158ef
RGBrgb(241 88 239)
HSLhsl(300.78 84.53% 64.51%)
OKLCHoklch(0.72 0.25 328.33)
CMYKcmyk(0% 63.49% 0.83% 5.49%)
Android#fff158ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #f158ef;
background-color: #f158ef;
bg-[#f158ef]