Skip to content
Vectorlight.net

#f797db

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

HEX
#f797db
RGB
247, 151, 219
HSL
317.5°, 85.71%, 78.04%
OKLCH
0.8 0.14 338.57
Names
—
Lists

Codes

FormatValue
HEX#f797db
RGBrgb(247 151 219)
HSLhsl(317.5 85.71% 78.04%)
OKLCHoklch(0.8 0.14 338.57)
CMYKcmyk(0% 38.87% 11.34% 3.14%)
Android#fff797db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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