#bc4af8
a balanced, electric violet · warm · closest name: magenta
RGB
188, 74, 248
HSL
279°, 93%, 63%
CMYK
24, 70, 0, 3
Luminance
0.2237
Every format
| HEX | #bc4af8 |
| RGB | rgb(188, 74, 248) |
| HSL | hsl(279, 93%, 63%) |
| CMYK | cmyk(24%, 70%, 0%, 3%) |
| LAB | lab(54.4 71.6 -67.0) |
| LCH | lch(54.4 98.0 316.9) |
| OKLCH | oklch(0.639 0.252 311.2) |
Copy-ready code
/* CSS */
color: #bc4af8;
background-color: #bc4af8;
/* Tailwind (arbitrary) */
class="text-[#bc4af8] bg-[#bc4af8]"
/* SCSS */
$brand: #bc4af8;
/* SwiftUI */
Color(red: 0.737, green: 0.290, blue: 0.973)
/* Android */
Color.parseColor("#bc4af8")Accessibility — WCAG contrast
Aa
#bc4af8 on white: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4af8 on black: 5.47:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.0%
Blue97.3%
CMYK percentages
Cyan24.2%
Magenta70.2%
Yellow0.0%
Key (black)2.7%
Color previews
#bc4af8 text on a black background
contrast 5.47:1
Card sample
#bc4af8 text on a white background
contrast 3.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4af8;
Background color
Panel with #bc4af8 background
background-color: #bc4af8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4af8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 74, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 74, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4af8; background: linear-gradient(135deg, #bc4af8, #F84AC0);