Skip to content

#bf2cef

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

RGB
191, 44, 239
HSL
285°, 86%, 56%
CMYK
20, 82, 0, 6
Luminance
0.1911

Every format

HEX#bf2cef
RGBrgb(191, 44, 239)
HSLhsl(285, 86%, 56%)
CMYKcmyk(20%, 82%, 0%, 6%)
LABlab(50.8 80.2 -67.7)
LCHlch(50.8 105.0 319.8)
OKLCHoklch(0.612 0.274 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2cef on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#bf2cef on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green17.3%
Blue93.7%

CMYK percentages

Cyan20.1%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#bf2cef text on a black background

contrast 4.82:1

Card sample

#bf2cef text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2cef in the Color Lab