#bc4cef
a balanced, electric violet · warm · closest name: magenta
RGB
188, 76, 239
HSL
281°, 84%, 62%
CMYK
21, 68, 0, 6
Luminance
0.2209
Every format
| HEX | #bc4cef |
| RGB | rgb(188, 76, 239) |
| HSL | hsl(281, 84%, 62%) |
| CMYK | cmyk(21%, 68%, 0%, 6%) |
| LAB | lab(54.1 69.0 -62.4) |
| LCH | lch(54.1 93.0 317.8) |
| OKLCH | oklch(0.635 0.241 313.2) |
Copy-ready code
/* CSS */
color: #bc4cef;
background-color: #bc4cef;
/* Tailwind (arbitrary) */
class="text-[#bc4cef] bg-[#bc4cef]"
/* SCSS */
$brand: #bc4cef;
/* SwiftUI */
Color(red: 0.737, green: 0.298, blue: 0.937)
/* Android */
Color.parseColor("#bc4cef")Accessibility — WCAG contrast
Aa
#bc4cef on white: 3.88:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#bc4cef on black: 5.42:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green29.8%
Blue93.7%
CMYK percentages
Cyan21.3%
Magenta68.2%
Yellow0.0%
Key (black)6.3%
Color previews
#bc4cef text on a black background
contrast 5.42:1
Card sample
#bc4cef text on a white background
contrast 3.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bc4cef;
Background color
Panel with #bc4cef background
background-color: #bc4cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bc4cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 76, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 76, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc4cef; background: linear-gradient(135deg, #bc4cef, #EF4CB5);