Skip to content

#f9b2fd

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

RGB
249, 178, 253
HSL
297°, 95%, 85%
CMYK
2, 30, 0, 1
Luminance
0.5907

Every format

HEX#f9b2fd
RGBrgb(249, 178, 253)
HSLhsl(297, 95%, 85%)
CMYKcmyk(2%, 30%, 0%, 1%)
LABlab(81.3 37.8 -26.9)
LCHlch(81.3 46.4 324.5)
OKLCHoklch(0.854 0.127 324.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9b2fd on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#f9b2fd on black: 12.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green69.8%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#f9b2fd text on a black background

contrast 12.81:1

Card sample

#f9b2fd text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9b2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9b2fd in the Color Lab