Skip to content

#ff7dfd

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

RGB
255, 125, 253
HSL
301°, 100%, 75%
CMYK
0, 51, 1, 0
Luminance
0.4302

Every format

HEX#ff7dfd
RGBrgb(255, 125, 253)
HSLhsl(301, 100%, 75%)
CMYKcmyk(0%, 51%, 1%, 0%)
LABlab(71.6 66.0 -41.9)
LCHlch(71.6 78.2 327.6)
OKLCHoklch(0.782 0.217 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff7dfd on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#ff7dfd on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green49.0%
Blue99.2%

CMYK percentages

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

Color previews

#ff7dfd text on a black background

contrast 9.60:1

Card sample

#ff7dfd text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff7dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff7dfd in the Color Lab