Skip to content
Vectorlight.net

#ff9cfa

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

HEX
#ff9cfa
RGB
255, 156, 250
HSL
303.03°, 100%, 80.59%
OKLCH
0.82 0.17 328.75
Names
—
Lists

Codes

FormatValue
HEX#ff9cfa
RGBrgb(255 156 250)
HSLhsl(303.03 100% 80.59%)
OKLCHoklch(0.82 0.17 328.75)
CMYKcmyk(0% 38.82% 1.96% 0%)
Android#ffff9cfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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