Skip to content

#bf2fff

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

RGB
191, 47, 255
HSL
282°, 100%, 59%
CMYK
25, 82, 0, 0
Luminance
0.2033

Every format

HEX#bf2fff
RGBrgb(191, 47, 255)
HSLhsl(282, 100%, 59%)
CMYKcmyk(25%, 82%, 0%, 0%)
LABlab(52.2 82.4 -74.4)
LCHlch(52.2 111.0 317.9)
OKLCHoklch(0.626 0.284 312.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2fff on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#bf2fff on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.4%
Blue100.0%

CMYK percentages

Cyan25.1%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#bf2fff text on a black background

contrast 5.07:1

Card sample

#bf2fff text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2fff in the Color Lab