Skip to content
Vectorlight.net

#ff81fa

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

HEX
#ff81fa
RGB
255, 129, 250
HSL
302.38°, 100%, 75.29%
OKLCH
0.79 0.21 328.83
Names
—
Lists

Codes

FormatValue
HEX#ff81fa
RGBrgb(255 129 250)
HSLhsl(302.38 100% 75.29%)
OKLCHoklch(0.79 0.21 328.83)
CMYKcmyk(0% 49.41% 1.96% 0%)
Android#ffff81fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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