Skip to content
Vectorlight.net

#f852eb

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

HEX
#f852eb
RGB
248, 82, 235
HSL
304.7°, 92.22%, 64.71%
OKLCH
0.72 0.26 331.22
Names
—
Lists

Codes

FormatValue
HEX#f852eb
RGBrgb(248 82 235)
HSLhsl(304.7 92.22% 64.71%)
OKLCHoklch(0.72 0.26 331.22)
CMYKcmyk(0% 66.94% 5.24% 2.75%)
Android#fff852eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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