#cf4af9
a balanced, electric violet · warm · closest name: magenta
RGB
207, 74, 249
HSL
286°, 94%, 63%
CMYK
17, 70, 0, 2
Luminance
0.2500
Every format
| HEX | #cf4af9 |
| RGB | rgb(207, 74, 249) |
| HSL | hsl(286, 94%, 63%) |
| CMYK | cmyk(17%, 70%, 0%, 2%) |
| LAB | lab(57.1 75.5 -63.1) |
| LCH | lch(57.1 98.4 320.1) |
| OKLCH | oklch(0.663 0.259 316.8) |
Copy-ready code
/* CSS */
color: #cf4af9;
background-color: #cf4af9;
/* Tailwind (arbitrary) */
class="text-[#cf4af9] bg-[#cf4af9]"
/* SCSS */
$brand: #cf4af9;
/* SwiftUI */
Color(red: 0.812, green: 0.290, blue: 0.976)
/* Android */
Color.parseColor("#cf4af9")Accessibility — WCAG contrast
Aa
#cf4af9 on white: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cf4af9 on black: 6.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green29.0%
Blue97.6%
CMYK percentages
Cyan16.9%
Magenta70.3%
Yellow0.0%
Key (black)2.4%
Color previews
#cf4af9 text on a black background
contrast 6.00:1
Card sample
#cf4af9 text on a white background
contrast 3.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf4af9;
Background color
Panel with #cf4af9 background
background-color: #cf4af9;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf4af9;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 74, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 74, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf4af9; background: linear-gradient(135deg, #cf4af9, #F94AAE);