Skip to content

#bf2fef

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

RGB
191, 47, 239
HSL
285°, 86%, 56%
CMYK
20, 80, 0, 6
Luminance
0.1934

Every format

HEX#bf2fef
RGBrgb(191, 47, 239)
HSLhsl(285, 86%, 56%)
CMYKcmyk(20%, 80%, 0%, 6%)
LABlab(51.1 79.4 -67.3)
LCHlch(51.1 104.1 319.7)
OKLCHoklch(0.614 0.271 315.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2fef on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#bf2fef on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.4%
Blue93.7%

CMYK percentages

Cyan20.1%
Magenta80.3%
Yellow0.0%
Key (black)6.3%

Color previews

#bf2fef text on a black background

contrast 4.87:1

Card sample

#bf2fef text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2fef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2fef in the Color Lab