Skip to content

#f37dfd

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

RGB
243, 125, 253
HSL
295°, 97%, 74%
CMYK
4, 51, 0, 1
Luminance
0.4081

Every format

HEX#f37dfd
RGBrgb(243, 125, 253)
HSLhsl(295, 97%, 74%)
CMYKcmyk(4%, 51%, 0%, 1%)
LABlab(70.0 62.8 -44.4)
LCHlch(70.0 76.9 324.7)
OKLCHoklch(0.768 0.210 324.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f37dfd on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#f37dfd on black: 9.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green49.0%
Blue99.2%

CMYK percentages

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

Color previews

#f37dfd text on a black background

contrast 9.16:1

Card sample

#f37dfd text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f37dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f37dfd in the Color Lab