Skip to content
Vectorlight.net

#ff8afa

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

HEX
#ff8afa
RGB
255, 138, 250
HSL
302.56°, 100%, 77.06%
OKLCH
0.8 0.19 328.79
Names
—
Lists

Codes

FormatValue
HEX#ff8afa
RGBrgb(255 138 250)
HSLhsl(302.56 100% 77.06%)
OKLCHoklch(0.8 0.19 328.79)
CMYKcmyk(0% 45.88% 1.96% 0%)
Android#ffff8afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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