Skip to content

#f9a0ff

a light, electric magenta / pink · warm · closest name: violet

RGB
249, 160, 255
HSL
296°, 100%, 81%
CMYK
2, 37, 0, 0
Luminance
0.5250

Every format

HEX#f9a0ff
RGBrgb(249, 160, 255)
HSLhsl(296, 100%, 81%)
CMYKcmyk(2%, 37%, 0%, 0%)
LABlab(77.6 47.5 -33.7)
LCHlch(77.6 58.3 324.6)
OKLCHoklch(0.826 0.159 324.7)

Copy-ready code

/* CSS */
color: #f9a0ff;
background-color: #f9a0ff;
/* Tailwind (arbitrary) */
class="text-[#f9a0ff] bg-[#f9a0ff]"
/* SCSS */
$brand: #f9a0ff;
/* SwiftUI */
Color(red: 0.976, green: 0.627, blue: 1.000)
/* Android */
Color.parseColor("#f9a0ff")

Accessibility — WCAG contrast

Aa
#f9a0ff on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#f9a0ff on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green62.7%
Blue100.0%

CMYK percentages

Cyan2.4%
Magenta37.3%
Yellow0.0%
Key (black)0.0%

Color previews

#f9a0ff text on a black background

contrast 11.50:1

Card sample

#f9a0ff text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f9a0ff;
Background color
Panel with #f9a0ff background
background-color: #f9a0ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f9a0ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(249, 160, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 160, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9a0ff;
background: linear-gradient(135deg, #f9a0ff, #FFA0C6);

Monochromatic scale

Palettes built from #f9a0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9a0ff in the Color Lab