#bc4af4
a balanced, electric violet · warm · closest name: magenta
RGB
188, 74, 244
HSL
280°, 89%, 62%
CMYK
23, 70, 0, 4
Luminance
0.2212
Every format
| HEX | #bc4af4 |
| RGB | rgb(188, 74, 244) |
| HSL | hsl(280, 89%, 62%) |
| CMYK | cmyk(23%, 70%, 0%, 4%) |
| LAB | lab(54.2 70.8 -65.2) |
| LCH | lch(54.2 96.2 317.4) |
| OKLCH | oklch(0.636 0.248 312.1) |
Copy-ready code
/* CSS */
color: #bc4af4;
background-color: #bc4af4;
/* Tailwind (arbitrary) */
class="text-[#bc4af4] bg-[#bc4af4]"
/* SCSS */
$brand: #bc4af4;
/* SwiftUI */
Color(red: 0.737, green: 0.290, blue: 0.957)
/* Android */
Color.parseColor("#bc4af4")Accessibility — WCAG contrast
Aa
#bc4af4 on white: 3.87:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4af4 on black: 5.42:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.0%
Blue95.7%
CMYK percentages
Cyan23.0%
Magenta69.7%
Yellow0.0%
Key (black)4.3%
Color previews
#bc4af4 text on a black background
contrast 5.42:1
Card sample
#bc4af4 text on a white background
contrast 3.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4af4;
Background color
Panel with #bc4af4 background
background-color: #bc4af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 74, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 74, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4af4; background: linear-gradient(135deg, #bc4af4, #F44ABB);