Skip to content
Vectorlight.net

#f873eb

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

HEX
#f873eb
RGB
248, 115, 235
HSL
305.86°, 90.48%, 71.18%
OKLCH
0.75 0.21 331.33
Names
—
Lists

Codes

FormatValue
HEX#f873eb
RGBrgb(248 115 235)
HSLhsl(305.86 90.48% 71.18%)
OKLCHoklch(0.75 0.21 331.33)
CMYKcmyk(0% 53.63% 5.24% 2.75%)
Android#fff873eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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