Skip to content

#bd4dfb

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

RGB
189, 77, 251
HSL
279°, 96%, 64%
CMYK
25, 69, 0, 2
Luminance
0.2309

Every format

HEX#bd4dfb
RGBrgb(189, 77, 251)
HSLhsl(279, 96%, 64%)
CMYKcmyk(25%, 69%, 0%, 2%)
LABlab(55.2 71.2 -67.4)
LCHlch(55.2 98.1 316.6)
OKLCHoklch(0.645 0.252 310.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bd4dfb on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#bd4dfb on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green30.2%
Blue98.4%

CMYK percentages

Cyan24.7%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#bd4dfb text on a black background

contrast 5.62:1

Card sample

#bd4dfb text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(189, 77, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 77, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bd4dfb;
background: linear-gradient(135deg, #bd4dfb, #FB4DC5);

Monochromatic scale

Palettes built from #bd4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bd4dfb in the Color Lab