Skip to content

#be4cef

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

RGB
190, 76, 239
HSL
282°, 84%, 62%
CMYK
21, 68, 0, 6
Luminance
0.2235

Every format

HEX#be4cef
RGBrgb(190, 76, 239)
HSLhsl(282, 84%, 62%)
CMYKcmyk(21%, 68%, 0%, 6%)
LABlab(54.4 69.4 -62.0)
LCHlch(54.4 93.0 318.2)
OKLCHoklch(0.637 0.242 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#be4cef on white: 3.84:1
AA ✗ fail · AA-large · AAA
Aa
#be4cef on black: 5.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green29.8%
Blue93.7%

CMYK percentages

Cyan20.5%
Magenta68.2%
Yellow0.0%
Key (black)6.3%

Color previews

#be4cef text on a black background

contrast 5.47:1

Card sample

#be4cef text on a white background

contrast 3.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #be4cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be4cef in the Color Lab