#bc1afd
a balanced, electric violet · warm · closest name: magenta
RGB
188, 26, 253
HSL
283°, 98%, 55%
CMYK
26, 90, 0, 1
Luminance
0.1852
Every format
| HEX | #bc1afd |
| RGB | rgb(188, 26, 253) |
| HSL | hsl(283, 98%, 55%) |
| CMYK | cmyk(26%, 90%, 0%, 1%) |
| LAB | lab(50.1 86.0 -76.7) |
| LCH | lch(50.1 115.3 318.3) |
| OKLCH | oklch(0.610 0.294 312.2) |
Copy-ready code
/* CSS */
color: #bc1afd;
background-color: #bc1afd;
/* Tailwind (arbitrary) */
class="text-[#bc1afd] bg-[#bc1afd]"
/* SCSS */
$brand: #bc1afd;
/* SwiftUI */
Color(red: 0.737, green: 0.102, blue: 0.992)
/* Android */
Color.parseColor("#bc1afd")Accessibility — WCAG contrast
Aa
#bc1afd on white: 4.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc1afd on black: 4.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green10.2%
Blue99.2%
CMYK percentages
Cyan25.7%
Magenta89.7%
Yellow0.0%
Key (black)0.8%
Color previews
#bc1afd text on a black background
contrast 4.70:1
Card sample
#bc1afd text on a white background
contrast 4.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc1afd;
Background color
Panel with #bc1afd background
background-color: #bc1afd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc1afd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 26, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 26, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc1afd; background: linear-gradient(135deg, #bc1afd, #FD1AA7);