Skip to content
Vectorlight.net

#f06cfd

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

HEX
#f06cfd
RGB
240, 108, 253
HSL
294.62°, 97.32%, 70.78%
OKLCH
0.74 0.23 323.99
Names
—
Lists

Codes

FormatValue
HEX#f06cfd
RGBrgb(240 108 253)
HSLhsl(294.62 97.32% 70.78%)
OKLCHoklch(0.74 0.23 323.99)
CMYKcmyk(5.14% 57.31% 0% 0.78%)
Android#fff06cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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