Skip to content

#be2df2

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

RGB
190, 45, 242
HSL
284°, 88%, 56%
CMYK
22, 81, 0, 5
Luminance
0.1923

Every format

HEX#be2df2
RGBrgb(190, 45, 242)
HSLhsl(284, 88%, 56%)
CMYKcmyk(22%, 81%, 0%, 5%)
LABlab(51.0 80.3 -69.2)
LCHlch(51.0 106.0 319.3)
OKLCHoklch(0.614 0.275 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#be2df2 on white: 4.33:1
AA ✗ fail · AA-large · AAA
Aa
#be2df2 on black: 4.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green17.6%
Blue94.9%

CMYK percentages

Cyan21.5%
Magenta81.4%
Yellow0.0%
Key (black)5.1%

Color previews

#be2df2 text on a black background

contrast 4.85:1

Card sample

#be2df2 text on a white background

contrast 4.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #be2df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be2df2 in the Color Lab