Skip to content
Vectorlight.net

#f07af5

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

HEX
#f07af5
RGB
240, 122, 245
HSL
297.56°, 86.01%, 71.96%
OKLCH
0.76 0.21 325.84
Names
—
Lists

Codes

FormatValue
HEX#f07af5
RGBrgb(240 122 245)
HSLhsl(297.56 86.01% 71.96%)
OKLCHoklch(0.76 0.21 325.84)
CMYKcmyk(2.04% 50.2% 0% 3.92%)
Android#fff07af5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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