Skip to content

#f88dfd

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

RGB
248, 141, 253
HSL
297°, 97%, 77%
CMYK
2, 44, 0, 1
Luminance
0.4610

Every format

HEX#f88dfd
RGBrgb(248, 141, 253)
HSLhsl(297, 97%, 77%)
CMYKcmyk(2%, 44%, 0%, 1%)
LABlab(73.6 56.4 -38.8)
LCHlch(73.6 68.5 325.5)
OKLCHoklch(0.796 0.188 325.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f88dfd on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#f88dfd on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.3%
Green55.3%
Blue99.2%

CMYK percentages

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

Color previews

#f88dfd text on a black background

contrast 10.22:1

Card sample

#f88dfd text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f88dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f88dfd in the Color Lab