Skip to content

#f9a5ff

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

RGB
249, 165, 255
HSL
296°, 100%, 82%
CMYK
2, 35, 0, 0
Luminance
0.5427

Every format

HEX#f9a5ff
RGBrgb(249, 165, 255)
HSLhsl(296, 100%, 82%)
CMYKcmyk(2%, 35%, 0%, 0%)
LABlab(78.6 44.9 -32.1)
LCHlch(78.6 55.2 324.4)
OKLCHoklch(0.834 0.151 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9a5ff on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#f9a5ff on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green64.7%
Blue100.0%

CMYK percentages

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

Color previews

#f9a5ff text on a black background

contrast 11.85:1

Card sample

#f9a5ff text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9a5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9a5ff in the Color Lab