#cf4cf9
a balanced, electric violet · warm · closest name: magenta
RGB
207, 76, 249
HSL
285°, 94%, 64%
CMYK
17, 70, 0, 2
Luminance
0.2527
Every format
| HEX | #cf4cf9 |
| RGB | rgb(207, 76, 249) |
| HSL | hsl(285, 94%, 64%) |
| CMYK | cmyk(17%, 70%, 0%, 2%) |
| LAB | lab(57.3 74.8 -62.7) |
| LCH | lch(57.3 97.6 320.0) |
| OKLCH | oklch(0.665 0.257 316.7) |
Copy-ready code
/* CSS */
color: #cf4cf9;
background-color: #cf4cf9;
/* Tailwind (arbitrary) */
class="text-[#cf4cf9] bg-[#cf4cf9]"
/* SCSS */
$brand: #cf4cf9;
/* SwiftUI */
Color(red: 0.812, green: 0.298, blue: 0.976)
/* Android */
Color.parseColor("#cf4cf9")Accessibility — WCAG contrast
Aa
#cf4cf9 on white: 3.47:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cf4cf9 on black: 6.05:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green29.8%
Blue97.6%
CMYK percentages
Cyan16.9%
Magenta69.5%
Yellow0.0%
Key (black)2.4%
Color previews
#cf4cf9 text on a black background
contrast 6.05:1
Card sample
#cf4cf9 text on a white background
contrast 3.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf4cf9;
Background color
Panel with #cf4cf9 background
background-color: #cf4cf9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf4cf9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 76, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 76, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf4cf9; background: linear-gradient(135deg, #cf4cf9, #F94CB0);