#ff7dff
a light, electric magenta / pink · warm · closest name: violet
RGB
255, 125, 255
HSL
300°, 100%, 75%
CMYK
0, 51, 0, 0
Luminance
0.4315
Every format
| HEX | #ff7dff |
| RGB | rgb(255, 125, 255) |
| HSL | hsl(300, 100%, 75%) |
| CMYK | cmyk(0%, 51%, 0%, 0%) |
| LAB | lab(71.7 66.3 -42.9) |
| LCH | lch(71.7 79.0 327.1) |
| OKLCH | oklch(0.783 0.219 327.4) |
Copy-ready code
/* CSS */
color: #ff7dff;
background-color: #ff7dff;
/* Tailwind (arbitrary) */
class="text-[#ff7dff] bg-[#ff7dff]"
/* SCSS */
$brand: #ff7dff;
/* SwiftUI */
Color(red: 1.000, green: 0.490, blue: 1.000)
/* Android */
Color.parseColor("#ff7dff")Accessibility — WCAG contrast
Aa
#ff7dff on white: 2.18:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff7dff on black: 9.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green49.0%
Blue100.0%
CMYK percentages
Cyan0.0%
Magenta51.0%
Yellow0.0%
Key (black)0.0%
Color previews
#ff7dff text on a black background
contrast 9.63:1
Card sample
#ff7dff text on a white background
contrast 2.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff7dff;
Background color
Panel with #ff7dff background
background-color: #ff7dff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff7dff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 125, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 125, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff7dff; background: linear-gradient(135deg, #ff7dff, #FF7DA8);