Skip to content

#f99dfd

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

RGB
249, 157, 253
HSL
298°, 96%, 80%
CMYK
2, 38, 0, 1
Luminance
0.5135

Every format

HEX#f99dfd
RGBrgb(249, 157, 253)
HSLhsl(298, 96%, 80%)
CMYKcmyk(2%, 38%, 0%, 1%)
LABlab(76.9 48.7 -33.7)
LCHlch(76.9 59.2 325.3)
OKLCHoklch(0.820 0.162 325.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f99dfd on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#f99dfd on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green61.6%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f99dfd text on a black background

contrast 11.27:1

Card sample

#f99dfd text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f99dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f99dfd in the Color Lab