Skip to content

#f4a2fd

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

RGB
244, 162, 253
HSL
294°, 96%, 81%
CMYK
4, 36, 0, 1
Luminance
0.5217

Every format

HEX#f4a2fd
RGBrgb(244, 162, 253)
HSLhsl(294, 96%, 81%)
CMYKcmyk(4%, 36%, 0%, 1%)
LABlab(77.4 44.6 -33.0)
LCHlch(77.4 55.5 323.5)
OKLCHoklch(0.823 0.151 323.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4a2fd on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#f4a2fd on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green63.5%
Blue99.2%

CMYK percentages

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

Color previews

#f4a2fd text on a black background

contrast 11.43:1

Card sample

#f4a2fd text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4a2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4a2fd in the Color Lab