Skip to content

#f39dfb

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

RGB
243, 157, 251
HSL
295°, 92%, 80%
CMYK
3, 38, 0, 2
Luminance
0.5013

Every format

HEX#f39dfb
RGBrgb(243, 157, 251)
HSLhsl(295, 92%, 80%)
CMYKcmyk(3%, 38%, 0%, 2%)
LABlab(76.2 46.5 -33.8)
LCHlch(76.2 57.5 324.0)
OKLCHoklch(0.813 0.157 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f39dfb on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#f39dfb on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green61.6%
Blue98.4%

CMYK percentages

Cyan3.2%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#f39dfb text on a black background

contrast 11.03:1

Card sample

#f39dfb text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(243, 157, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(243, 157, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f39dfb;
background: linear-gradient(135deg, #f39dfb, #FB9DC4);

Monochromatic scale

Palettes built from #f39dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f39dfb in the Color Lab