Skip to content
Vectorlight.net

#f05dfe

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

HEX
#f05dfe
RGB
240, 93, 254
HSL
294.78°, 98.77%, 68.04%
OKLCH
0.73 0.25 324.15
Names
—
Lists

Codes

FormatValue
HEX#f05dfe
RGBrgb(240 93 254)
HSLhsl(294.78 98.77% 68.04%)
OKLCHoklch(0.73 0.25 324.15)
CMYKcmyk(5.51% 63.39% 0% 0.39%)
Android#fff05dfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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