Skip to content

#f16dfd

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

RGB
241, 109, 253
HSL
295°, 97%, 71%
CMYK
5, 57, 0, 1
Luminance
0.3673

Every format

HEX#f16dfd
RGBrgb(241, 109, 253)
HSLhsl(295, 97%, 71%)
CMYKcmyk(5%, 57%, 0%, 1%)
LABlab(67.1 69.6 -49.1)
LCHlch(67.1 85.2 324.8)
OKLCHoklch(0.746 0.233 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f16dfd on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#f16dfd on black: 8.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green42.7%
Blue99.2%

CMYK percentages

Cyan4.7%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f16dfd text on a black background

contrast 8.35:1

Card sample

#f16dfd text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f16dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f16dfd in the Color Lab