Skip to content

#bd2df7

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

RGB
189, 45, 247
HSL
283°, 93%, 57%
CMYK
24, 82, 0, 3
Luminance
0.1941

Every format

HEX#bd2df7
RGBrgb(189, 45, 247)
HSLhsl(283, 93%, 57%)
CMYKcmyk(24%, 82%, 0%, 3%)
LABlab(51.2 81.1 -71.7)
LCHlch(51.2 108.2 318.5)
OKLCHoklch(0.616 0.279 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bd2df7 on white: 4.30:1
AA ✗ fail · AA-large · AAA
Aa
#bd2df7 on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.1%
Green17.6%
Blue96.9%

CMYK percentages

Cyan23.5%
Magenta81.8%
Yellow0.0%
Key (black)3.1%

Color previews

#bd2df7 text on a black background

contrast 4.88:1

Card sample

#bd2df7 text on a white background

contrast 4.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bd2df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bd2df7 in the Color Lab