Skip to content

#bf2dfb

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

RGB
191, 45, 251
HSL
283°, 96%, 58%
CMYK
24, 82, 0, 2
Luminance
0.1992

Every format

HEX#bf2dfb
RGBrgb(191, 45, 251)
HSLhsl(283, 96%, 58%)
CMYKcmyk(24%, 82%, 0%, 2%)
LABlab(51.8 82.2 -73.0)
LCHlch(51.8 109.9 318.4)
OKLCHoklch(0.621 0.282 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2dfb on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#bf2dfb on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green17.6%
Blue98.4%

CMYK percentages

Cyan23.9%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#bf2dfb text on a black background

contrast 4.98:1

Card sample

#bf2dfb text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2dfb in the Color Lab