Skip to content

#bf2dec

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

RGB
191, 45, 236
HSL
286°, 83%, 55%
CMYK
19, 81, 0, 8
Luminance
0.1901

Every format

HEX#bf2dec
RGBrgb(191, 45, 236)
HSLhsl(286, 83%, 55%)
CMYKcmyk(19%, 81%, 0%, 8%)
LABlab(50.7 79.4 -66.2)
LCHlch(50.7 103.4 320.2)
OKLCHoklch(0.611 0.270 316.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2dec on white: 4.37:1
AA ✗ fail · AA-large · AAA
Aa
#bf2dec on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green17.6%
Blue92.5%

CMYK percentages

Cyan19.1%
Magenta80.9%
Yellow0.0%
Key (black)7.5%

Color previews

#bf2dec text on a black background

contrast 4.80:1

Card sample

#bf2dec text on a white background

contrast 4.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2dec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2dec in the Color Lab