Skip to content

#f47dfd

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

RGB
244, 125, 253
HSL
296°, 97%, 74%
CMYK
4, 51, 0, 1
Luminance
0.4099

Every format

HEX#f47dfd
RGBrgb(244, 125, 253)
HSLhsl(296, 97%, 74%)
CMYKcmyk(4%, 51%, 0%, 1%)
LABlab(70.2 63.1 -44.2)
LCHlch(70.2 77.0 325.0)
OKLCHoklch(0.769 0.211 324.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f47dfd on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#f47dfd on black: 9.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green49.0%
Blue99.2%

CMYK percentages

Cyan3.6%
Magenta50.6%
Yellow0.0%
Key (black)0.8%

Color previews

#f47dfd text on a black background

contrast 9.20:1

Card sample

#f47dfd text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f47dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f47dfd in the Color Lab