Skip to content

#bd2dfb

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

RGB
189, 45, 251
HSL
282°, 96%, 58%
CMYK
25, 82, 0, 2
Luminance
0.1966

Every format

HEX#bd2dfb
RGBrgb(189, 45, 251)
HSLhsl(282, 96%, 58%)
CMYKcmyk(25%, 82%, 0%, 2%)
LABlab(51.5 81.9 -73.4)
LCHlch(51.5 110.0 318.1)
OKLCHoklch(0.619 0.282 312.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bd2dfb on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#bd2dfb on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green17.6%
Blue98.4%

CMYK percentages

Cyan24.7%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#bd2dfb text on a black background

contrast 4.93:1

Card sample

#bd2dfb text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bd2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bd2dfb in the Color Lab