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