Skip to content

#f86dfd

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

RGB
248, 109, 253
HSL
298°, 97%, 71%
CMYK
2, 57, 0, 1
Luminance
0.3799

Every format

HEX#f86dfd
RGBrgb(248, 109, 253)
HSLhsl(298, 97%, 71%)
CMYKcmyk(2%, 57%, 0%, 1%)
LABlab(68.0 71.3 -47.6)
LCHlch(68.0 85.7 326.3)
OKLCHoklch(0.754 0.236 326.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f86dfd on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#f86dfd on black: 8.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green42.7%
Blue99.2%

CMYK percentages

Cyan2.0%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f86dfd text on a black background

contrast 8.60:1

Card sample

#f86dfd text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f86dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f86dfd in the Color Lab