Skip to content

#bf4ff2

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

RGB
191, 79, 242
HSL
281°, 86%, 63%
CMYK
21, 67, 0, 5
Luminance
0.2308

Every format

HEX#bf4ff2
RGBrgb(191, 79, 242)
HSLhsl(281, 86%, 63%)
CMYKcmyk(21%, 67%, 0%, 5%)
LABlab(55.1 69.0 -62.4)
LCHlch(55.1 93.0 317.8)
OKLCHoklch(0.644 0.241 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf4ff2 on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#bf4ff2 on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green31.0%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta67.4%
Yellow0.0%
Key (black)5.1%

Color previews

#bf4ff2 text on a black background

contrast 5.62:1

Card sample

#bf4ff2 text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf4ff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf4ff2 in the Color Lab