Skip to content

#f39dfd

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

RGB
243, 157, 253
HSL
294°, 96%, 80%
CMYK
4, 38, 0, 1
Luminance
0.5026

Every format

HEX#f39dfd
RGBrgb(243, 157, 253)
HSLhsl(294, 96%, 80%)
CMYKcmyk(4%, 38%, 0%, 1%)
LABlab(76.2 46.9 -34.8)
LCHlch(76.2 58.4 323.4)
OKLCHoklch(0.814 0.159 323.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.3%
Green61.6%
Blue99.2%

CMYK percentages

Cyan4.0%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f39dfd text on a black background

contrast 11.05:1

Card sample

#f39dfd text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f39dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f39dfd in the Color Lab