Skip to content
Vectorlight.net

#f842ee

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

HEX
#f842ee
RGB
248, 66, 238
HSL
303.3°, 92.86%, 61.57%
OKLCH
0.71 0.28 330.48
Names
—
Lists

Codes

FormatValue
HEX#f842ee
RGBrgb(248 66 238)
HSLhsl(303.3 92.86% 61.57%)
OKLCHoklch(0.71 0.28 330.48)
CMYKcmyk(0% 73.39% 4.03% 2.75%)
Android#fff842ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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