Skip to content

#b53af0

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

RGB
181, 58, 240
HSL
281°, 86%, 58%
CMYK
25, 76, 0, 6
Luminance
0.1914

Every format

HEX#b53af0
RGBrgb(181, 58, 240)
HSLhsl(281, 86%, 58%)
CMYKcmyk(25%, 76%, 0%, 6%)
LABlab(50.9 74.6 -68.3)
LCHlch(50.9 101.1 317.5)
OKLCHoklch(0.610 0.259 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b53af0 on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#b53af0 on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green22.7%
Blue94.1%

CMYK percentages

Cyan24.6%
Magenta75.8%
Yellow0.0%
Key (black)5.9%

Color previews

#b53af0 text on a black background

contrast 4.83:1

Card sample

#b53af0 text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b53af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b53af0 in the Color Lab