Skip to content

#f982fd

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

RGB
249, 130, 253
HSL
298°, 97%, 75%
CMYK
2, 49, 0, 1
Luminance
0.4320

Every format

HEX#f982fd
RGBrgb(249, 130, 253)
HSLhsl(298, 97%, 75%)
CMYKcmyk(2%, 49%, 0%, 1%)
LABlab(71.7 62.0 -41.8)
LCHlch(71.7 74.8 326.0)
OKLCHoklch(0.782 0.206 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f982fd on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#f982fd on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green51.0%
Blue99.2%

CMYK percentages

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

Color previews

#f982fd text on a black background

contrast 9.64:1

Card sample

#f982fd text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f982fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f982fd in the Color Lab