Skip to content

#be2dfb

a balanced, electric violet · warm · closest name: magenta

RGB
190, 45, 251
HSL
282°, 96%, 58%
CMYK
24, 82, 0, 2
Luminance
0.1979

Every format

HEX#be2dfb
RGBrgb(190, 45, 251)
HSLhsl(282, 96%, 58%)
CMYKcmyk(24%, 82%, 0%, 2%)
LABlab(51.6 82.0 -73.2)
LCHlch(51.6 109.9 318.2)
OKLCHoklch(0.620 0.282 312.6)

Copy-ready code

/* CSS */
color: #be2dfb;
background-color: #be2dfb;
/* Tailwind (arbitrary) */
class="text-[#be2dfb] bg-[#be2dfb]"
/* SCSS */
$brand: #be2dfb;
/* SwiftUI */
Color(red: 0.745, green: 0.176, blue: 0.984)
/* Android */
Color.parseColor("#be2dfb")

Accessibility — WCAG contrast

Aa
#be2dfb on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#be2dfb on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green17.6%
Blue98.4%

CMYK percentages

Cyan24.3%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#be2dfb text on a black background

contrast 4.96:1

Card sample

#be2dfb text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #be2dfb;
Background color
Panel with #be2dfb background
background-color: #be2dfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #be2dfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(190, 45, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 45, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be2dfb;
background: linear-gradient(135deg, #be2dfb, #FB2DAF);

Monochromatic scale

Palettes built from #be2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be2dfb in the Color Lab