Skip to content

#b50fdf

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

RGB
181, 15, 223
HSL
288°, 87%, 47%
CMYK
19, 93, 0, 13
Luminance
0.1549

Every format

HEX#b50fdf
RGBrgb(181, 15, 223)
HSLhsl(288, 87%, 47%)
CMYKcmyk(19%, 93%, 0%, 13%)
LABlab(46.3 81.2 -66.1)
LCHlch(46.3 104.7 320.9)
OKLCHoklch(0.574 0.274 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b50fdf on white: 5.12:1
AA ✓ pass · AA-large · AAA
Aa
#b50fdf on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green5.9%
Blue87.5%

CMYK percentages

Cyan18.8%
Magenta93.3%
Yellow0.0%
Key (black)12.5%

Color previews

#b50fdf text on a black background

contrast 4.10:1

Card sample

#b50fdf text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b50fdf;
background: linear-gradient(135deg, #b50fdf, #DF0F7E);

Monochromatic scale

Palettes built from #b50fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b50fdf in the Color Lab