#be2ef1
a balanced, electric violet · warm · closest name: magenta
RGB
190, 46, 241
HSL
284°, 87%, 56%
CMYK
21, 81, 0, 6
Luminance
0.1925
Every format
| HEX | #be2ef1 |
| RGB | rgb(190, 46, 241) |
| HSL | hsl(284, 87%, 56%) |
| CMYK | cmyk(21%, 81%, 0%, 6%) |
| LAB | lab(51.0 79.9 -68.6) |
| LCH | lch(51.0 105.3 319.4) |
| OKLCH | oklch(0.614 0.273 314.8) |
Copy-ready code
/* CSS */
color: #be2ef1;
background-color: #be2ef1;
/* Tailwind (arbitrary) */
class="text-[#be2ef1] bg-[#be2ef1]"
/* SCSS */
$brand: #be2ef1;
/* SwiftUI */
Color(red: 0.745, green: 0.180, blue: 0.945)
/* Android */
Color.parseColor("#be2ef1")Accessibility — WCAG contrast
Aa
#be2ef1 on white: 4.33:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#be2ef1 on black: 4.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green18.0%
Blue94.5%
CMYK percentages
Cyan21.2%
Magenta80.9%
Yellow0.0%
Key (black)5.5%
Color previews
#be2ef1 text on a black background
contrast 4.85:1
Card sample
#be2ef1 text on a white background
contrast 4.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #be2ef1;
Background color
Panel with #be2ef1 background
background-color: #be2ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #be2ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 46, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 46, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be2ef1; background: linear-gradient(135deg, #be2ef1, #F12EA2);