Skip to content

#b53df2

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

RGB
181, 61, 242
HSL
280°, 87%, 59%
CMYK
25, 75, 0, 5
Luminance
0.1957

Every format

HEX#b53df2
RGBrgb(181, 61, 242)
HSLhsl(280, 87%, 59%)
CMYKcmyk(25%, 75%, 0%, 5%)
LABlab(51.4 74.0 -68.6)
LCHlch(51.4 100.9 317.1)
OKLCHoklch(0.614 0.258 311.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b53df2 on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#b53df2 on black: 4.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green23.9%
Blue94.9%

CMYK percentages

Cyan25.2%
Magenta74.8%
Yellow0.0%
Key (black)5.1%

Color previews

#b53df2 text on a black background

contrast 4.91:1

Card sample

#b53df2 text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b53df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b53df2 in the Color Lab