#bc4afd
a balanced, electric violet · warm · closest name: magenta
RGB
188, 74, 253
HSL
278°, 98%, 64%
CMYK
26, 71, 0, 1
Luminance
0.2268
Every format
| HEX | #bc4afd |
| RGB | rgb(188, 74, 253) |
| HSL | hsl(278, 98%, 64%) |
| CMYK | cmyk(26%, 71%, 0%, 1%) |
| LAB | lab(54.7 72.6 -69.2) |
| LCH | lch(54.7 100.3 316.4) |
| OKLCH | oklch(0.642 0.257 310.2) |
Copy-ready code
/* CSS */
color: #bc4afd;
background-color: #bc4afd;
/* Tailwind (arbitrary) */
class="text-[#bc4afd] bg-[#bc4afd]"
/* SCSS */
$brand: #bc4afd;
/* SwiftUI */
Color(red: 0.737, green: 0.290, blue: 0.992)
/* Android */
Color.parseColor("#bc4afd")Accessibility — WCAG contrast
Aa
#bc4afd on white: 3.79:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4afd on black: 5.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.0%
Blue99.2%
CMYK percentages
Cyan25.7%
Magenta70.8%
Yellow0.0%
Key (black)0.8%
Color previews
#bc4afd text on a black background
contrast 5.54:1
Card sample
#bc4afd text on a white background
contrast 3.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4afd;
Background color
Panel with #bc4afd background
background-color: #bc4afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 74, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 74, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4afd; background: linear-gradient(135deg, #bc4afd, #FD4AC7);