Skip to content
Vectorlight.net

#f097df

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

HEX
#f097df
RGB
240, 151, 223
HSL
311.46°, 74.79%, 76.67%
OKLCH
0.79 0.14 334.05
Names
—
Lists

Codes

FormatValue
HEX#f097df
RGBrgb(240 151 223)
HSLhsl(311.46 74.79% 76.67%)
OKLCHoklch(0.79 0.14 334.05)
CMYKcmyk(0% 37.08% 7.08% 5.88%)
Android#fff097df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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