#bc4af3
a balanced, electric violet · warm · closest name: magenta
RGB
188, 74, 243
HSL
281°, 88%, 62%
CMYK
23, 70, 0, 5
Luminance
0.2206
Every format
| HEX | #bc4af3 |
| RGB | rgb(188, 74, 243) |
| HSL | hsl(281, 88%, 62%) |
| CMYK | cmyk(23%, 70%, 0%, 5%) |
| LAB | lab(54.1 70.6 -64.7) |
| LCH | lch(54.1 95.8 317.5) |
| OKLCH | oklch(0.635 0.247 312.4) |
Copy-ready code
/* CSS */
color: #bc4af3;
background-color: #bc4af3;
/* Tailwind (arbitrary) */
class="text-[#bc4af3] bg-[#bc4af3]"
/* SCSS */
$brand: #bc4af3;
/* SwiftUI */
Color(red: 0.737, green: 0.290, blue: 0.953)
/* Android */
Color.parseColor("#bc4af3")Accessibility — WCAG contrast
Aa
#bc4af3 on white: 3.88:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4af3 on black: 5.41:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.0%
Blue95.3%
CMYK percentages
Cyan22.6%
Magenta69.5%
Yellow0.0%
Key (black)4.7%
Color previews
#bc4af3 text on a black background
contrast 5.41:1
Card sample
#bc4af3 text on a white background
contrast 3.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4af3;
Background color
Panel with #bc4af3 background
background-color: #bc4af3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4af3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 74, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 74, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4af3; background: linear-gradient(135deg, #bc4af3, #F34AB9);