#cf50ff
a light, electric violet · warm · closest name: magenta
RGB
207, 80, 255
HSL
284°, 100%, 66%
CMYK
19, 69, 0, 0
Luminance
0.2622
Every format
| HEX | #cf50ff |
| RGB | rgb(207, 80, 255) |
| HSL | hsl(284, 100%, 66%) |
| CMYK | cmyk(19%, 69%, 0%, 0%) |
| LAB | lab(58.3 74.4 -64.5) |
| LCH | lch(58.3 98.5 319.0) |
| OKLCH | oklch(0.673 0.258 315.1) |
Copy-ready code
/* CSS */
color: #cf50ff;
background-color: #cf50ff;
/* Tailwind (arbitrary) */
class="text-[#cf50ff] bg-[#cf50ff]"
/* SCSS */
$brand: #cf50ff;
/* SwiftUI */
Color(red: 0.812, green: 0.314, blue: 1.000)
/* Android */
Color.parseColor("#cf50ff")Accessibility — WCAG contrast
Aa
#cf50ff on white: 3.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cf50ff on black: 6.24:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green31.4%
Blue100.0%
CMYK percentages
Cyan18.8%
Magenta68.6%
Yellow0.0%
Key (black)0.0%
Color previews
#cf50ff text on a black background
contrast 6.24:1
Card sample
#cf50ff text on a white background
contrast 3.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf50ff;
Background color
Panel with #cf50ff background
background-color: #cf50ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf50ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 80, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 80, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf50ff; background: linear-gradient(135deg, #cf50ff, #FF50BA);