Skip to content

#f86cfd

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

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

Every format

HEX#f86cfd
RGBrgb(248, 108, 253)
HSLhsl(298, 97%, 71%)
CMYKcmyk(2%, 57%, 0%, 1%)
LABlab(67.9 71.7 -47.8)
LCHlch(67.9 86.2 326.3)
OKLCHoklch(0.753 0.238 326.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f86cfd on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#f86cfd on black: 8.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green42.4%
Blue99.2%

CMYK percentages

Cyan2.0%
Magenta57.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f86cfd text on a black background

contrast 8.55:1

Card sample

#f86cfd text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f86cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f86cfd in the Color Lab