Skip to content
Vectorlight.net

#ff7afa

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

HEX
#ff7afa
RGB
255, 122, 250
HSL
302.26°, 100%, 73.92%
OKLCH
0.78 0.22 328.87
Names
—
Lists

Codes

FormatValue
HEX#ff7afa
RGBrgb(255 122 250)
HSLhsl(302.26 100% 73.92%)
OKLCHoklch(0.78 0.22 328.87)
CMYKcmyk(0% 52.16% 1.96% 0%)
Android#ffff7afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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