Skip to content

#f38dfd

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

RGB
243, 141, 253
HSL
295°, 97%, 77%
CMYK
4, 44, 0, 1
Luminance
0.4520

Every format

HEX#f38dfd
RGBrgb(243, 141, 253)
HSLhsl(295, 97%, 77%)
CMYKcmyk(4%, 44%, 0%, 1%)
LABlab(73.0 55.0 -39.8)
LCHlch(73.0 67.9 324.1)
OKLCHoklch(0.790 0.185 323.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f38dfd on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#f38dfd on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.3%
Green55.3%
Blue99.2%

CMYK percentages

Cyan4.0%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#f38dfd text on a black background

contrast 10.04:1

Card sample

#f38dfd text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f38dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f38dfd in the Color Lab