Skip to content
Vectorlight.net

#f05ffc

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

HEX
#f05ffc
RGB
240, 95, 252
HSL
295.41°, 96.32%, 68.04%
OKLCH
0.73 0.25 324.6
Names
—
Lists

Codes

FormatValue
HEX#f05ffc
RGBrgb(240 95 252)
HSLhsl(295.41 96.32% 68.04%)
OKLCHoklch(0.73 0.25 324.6)
CMYKcmyk(4.76% 62.3% 0% 1.18%)
Android#fff05ffc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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