Skip to content
Vectorlight.net

#f852ea

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

HEX
#f852ea
RGB
248, 82, 234
HSL
305.06°, 92.22%, 64.71%
OKLCH
0.72 0.26 331.49
Names
—
Lists

Codes

FormatValue
HEX#f852ea
RGBrgb(248 82 234)
HSLhsl(305.06 92.22% 64.71%)
OKLCHoklch(0.72 0.26 331.49)
CMYKcmyk(0% 66.94% 5.65% 2.75%)
Android#fff852ea

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="#f852ea"
Gradient stop
<stop stop-color="#f852ea"/>
CSS variable + fill
:root { --c: #f852ea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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