Skip to content

#fc6dfd

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

RGB
252, 109, 253
HSL
300°, 97%, 71%
CMYK
0, 57, 0, 1
Luminance
0.3872

Every format

HEX#fc6dfd
RGBrgb(252, 109, 253)
HSLhsl(300, 97%, 71%)
CMYKcmyk(0%, 57%, 0%, 1%)
LABlab(68.5 72.3 -46.7)
LCHlch(68.5 86.0 327.1)
OKLCHoklch(0.759 0.238 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc6dfd on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#fc6dfd on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green42.7%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta56.9%
Yellow0.0%
Key (black)0.8%

Color previews

#fc6dfd text on a black background

contrast 8.74:1

Card sample

#fc6dfd text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc6dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc6dfd in the Color Lab