Skip to content

#bd2df3

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

RGB
189, 45, 243
HSL
284°, 89%, 57%
CMYK
22, 82, 0, 5
Luminance
0.1917

Every format

HEX#bd2df3
RGBrgb(189, 45, 243)
HSLhsl(284, 89%, 57%)
CMYKcmyk(22%, 82%, 0%, 5%)
LABlab(50.9 80.4 -69.9)
LCHlch(50.9 106.5 319.0)
OKLCHoklch(0.613 0.275 314.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.1%
Green17.6%
Blue95.3%

CMYK percentages

Cyan22.2%
Magenta81.5%
Yellow0.0%
Key (black)4.7%

Color previews

#bd2df3 text on a black background

contrast 4.83:1

Card sample

#bd2df3 text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bd2df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bd2df3 in the Color Lab