Skip to content

#fc97fc

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

RGB
252, 151, 252
HSL
300°, 94%, 79%
CMYK
0, 40, 0, 1
Luminance
0.4986

Every format

HEX#fc97fc
RGBrgb(252, 151, 252)
HSLhsl(300, 94%, 79%)
CMYKcmyk(0%, 40%, 0%, 1%)
LABlab(76.0 52.4 -34.6)
LCHlch(76.0 62.8 326.6)
OKLCHoklch(0.814 0.173 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc97fc on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#fc97fc on black: 10.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green59.2%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta40.1%
Yellow0.0%
Key (black)1.2%

Color previews

#fc97fc text on a black background

contrast 10.97:1

Card sample

#fc97fc text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc97fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc97fc in the Color Lab