Skip to content
Vectorlight.net

#f978eb

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

HEX
#f978eb
RGB
249, 120, 235
HSL
306.51°, 91.49%, 72.35%
OKLCH
0.76 0.21 331.66
Names
—
Lists

Codes

FormatValue
HEX#f978eb
RGBrgb(249 120 235)
HSLhsl(306.51 91.49% 72.35%)
OKLCHoklch(0.76 0.21 331.66)
CMYKcmyk(0% 51.81% 5.62% 2.35%)
Android#fff978eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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