Skip to content

#be0af5

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

RGB
190, 10, 245
HSL
286°, 92%, 50%
CMYK
22, 96, 0, 4
Luminance
0.1776

Every format

HEX#be0af5
RGBrgb(190, 10, 245)
HSLhsl(286, 92%, 50%)
CMYKcmyk(22%, 96%, 0%, 4%)
LABlab(49.2 86.7 -73.7)
LCHlch(49.2 113.8 319.6)
OKLCHoklch(0.602 0.294 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#be0af5 on white: 4.61:1
AA ✓ pass · AA-large · AAA
Aa
#be0af5 on black: 4.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.5%
Green3.9%
Blue96.1%

CMYK percentages

Cyan22.4%
Magenta95.9%
Yellow0.0%
Key (black)3.9%

Color previews

#be0af5 text on a black background

contrast 4.55:1

Card sample

#be0af5 text on a white background

contrast 4.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #be0af5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #be0af5 in the Color Lab