Skip to content

#fca2fd

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

RGB
252, 162, 253
HSL
299°, 96%, 81%
CMYK
0, 36, 0, 1
Luminance
0.5363

Every format

HEX#fca2fd
RGBrgb(252, 162, 253)
HSLhsl(299, 96%, 81%)
CMYKcmyk(0%, 36%, 0%, 1%)
LABlab(78.3 47.0 -31.6)
LCHlch(78.3 56.6 326.1)
OKLCHoklch(0.831 0.156 326.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fca2fd on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#fca2fd on black: 11.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green63.5%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#fca2fd text on a black background

contrast 11.73:1

Card sample

#fca2fd text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fca2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fca2fd in the Color Lab