Skip to content
Vectorlight.net

#f257ff

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

HEX
#f257ff
RGB
242, 87, 255
HSL
295.36°, 100%, 67.06%
OKLCH
0.72 0.26 324.58
Names
—
Lists

Codes

FormatValue
HEX#f257ff
RGBrgb(242 87 255)
HSLhsl(295.36 100% 67.06%)
OKLCHoklch(0.72 0.26 324.58)
CMYKcmyk(5.1% 65.88% 0% 0%)
Android#fff257ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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