Skip to content
Vectorlight.net

#f06ffd

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

HEX
#f06ffd
RGB
240, 111, 253
HSL
294.51°, 97.26%, 71.37%
OKLCH
0.75 0.23 323.9
Names
—
Lists

Codes

FormatValue
HEX#f06ffd
RGBrgb(240 111 253)
HSLhsl(294.51 97.26% 71.37%)
OKLCHoklch(0.75 0.23 323.9)
CMYKcmyk(5.14% 56.13% 0% 0.78%)
Android#fff06ffd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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