Skip to content

#fea0fd

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

RGB
254, 160, 253
HSL
301°, 98%, 81%
CMYK
0, 37, 0, 0
Luminance
0.5330

Every format

HEX#fea0fd
RGBrgb(254, 160, 253)
HSLhsl(301, 98%, 81%)
CMYKcmyk(0%, 37%, 0%, 0%)
LABlab(78.1 48.6 -31.9)
LCHlch(78.1 58.1 326.8)
OKLCHoklch(0.830 0.161 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fea0fd on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#fea0fd on black: 11.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green62.7%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta37.0%
Yellow0.4%
Key (black)0.4%

Color previews

#fea0fd text on a black background

contrast 11.66:1

Card sample

#fea0fd text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fea0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fea0fd in the Color Lab