#bc4cfb
a balanced, electric violet · warm · closest name: magenta
RGB
188, 76, 251
HSL
278°, 96%, 64%
CMYK
25, 70, 0, 2
Luminance
0.2283
Every format
| HEX | #bc4cfb |
| RGB | rgb(188, 76, 251) |
| HSL | hsl(278, 96%, 64%) |
| CMYK | cmyk(25%, 70%, 0%, 2%) |
| LAB | lab(54.9 71.4 -67.9) |
| LCH | lch(54.9 98.5 316.4) |
| OKLCH | oklch(0.643 0.252 310.5) |
Copy-ready code
/* CSS */
color: #bc4cfb;
background-color: #bc4cfb;
/* Tailwind (arbitrary) */
class="text-[#bc4cfb] bg-[#bc4cfb]"
/* SCSS */
$brand: #bc4cfb;
/* SwiftUI */
Color(red: 0.737, green: 0.298, blue: 0.984)
/* Android */
Color.parseColor("#bc4cfb")Accessibility — WCAG contrast
Aa
#bc4cfb on white: 3.77:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4cfb on black: 5.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.8%
Blue98.4%
CMYK percentages
Cyan25.1%
Magenta69.7%
Yellow0.0%
Key (black)1.6%
Color previews
#bc4cfb text on a black background
contrast 5.57:1
Card sample
#bc4cfb text on a white background
contrast 3.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4cfb;
Background color
Panel with #bc4cfb background
background-color: #bc4cfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4cfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 76, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 76, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4cfb; background: linear-gradient(135deg, #bc4cfb, #FB4CC5);