Skip to content

#ff9cfd

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

RGB
255, 156, 253
HSL
301°, 100%, 81%
CMYK
0, 39, 1, 0
Luminance
0.5213

Every format

HEX#ff9cfd
RGBrgb(255, 156, 253)
HSLhsl(301, 100%, 81%)
CMYKcmyk(0%, 39%, 1%, 0%)
LABlab(77.4 51.0 -33.0)
LCHlch(77.4 60.7 327.1)
OKLCHoklch(0.825 0.168 327.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green61.2%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta38.8%
Yellow0.8%
Key (black)0.0%

Color previews

#ff9cfd text on a black background

contrast 11.43:1

Card sample

#ff9cfd text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff9cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff9cfd in the Color Lab