Skip to content

#be0dfb

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

RGB
190, 13, 251
HSL
285°, 97%, 52%
CMYK
24, 95, 0, 2
Luminance
0.1820

Every format

HEX#be0dfb
RGBrgb(190, 13, 251)
HSLhsl(285, 97%, 52%)
CMYKcmyk(24%, 95%, 0%, 2%)
LABlab(49.7 87.5 -76.2)
LCHlch(49.7 116.0 318.9)
OKLCHoklch(0.607 0.297 313.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#be0dfb on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#be0dfb on black: 4.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green5.1%
Blue98.4%

CMYK percentages

Cyan24.3%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#be0dfb text on a black background

contrast 4.64:1

Card sample

#be0dfb text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #be0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be0dfb in the Color Lab