Skip to content
Vectorlight.net

#f974ea

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

HEX
#f974ea
RGB
249, 116, 234
HSL
306.77°, 91.72%, 71.57%
OKLCH
0.76 0.21 331.93
Names
—
Lists

Codes

FormatValue
HEX#f974ea
RGBrgb(249 116 234)
HSLhsl(306.77 91.72% 71.57%)
OKLCHoklch(0.76 0.21 331.93)
CMYKcmyk(0% 53.41% 6.02% 2.35%)
Android#fff974ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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