Skip to content

#bf2ff2

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

RGB
191, 47, 242
HSL
284°, 88%, 57%
CMYK
21, 81, 0, 5
Luminance
0.1952

Every format

HEX#bf2ff2
RGBrgb(191, 47, 242)
HSLhsl(284, 88%, 57%)
CMYKcmyk(21%, 81%, 0%, 5%)
LABlab(51.3 80.0 -68.7)
LCHlch(51.3 105.4 319.4)
OKLCHoklch(0.616 0.274 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf2ff2 on white: 4.28:1
AA ✗ fail · AA-large · AAA
Aa
#bf2ff2 on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.4%
Blue94.9%

CMYK percentages

Cyan21.1%
Magenta80.6%
Yellow0.0%
Key (black)5.1%

Color previews

#bf2ff2 text on a black background

contrast 4.90:1

Card sample

#bf2ff2 text on a white background

contrast 4.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf2ff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf2ff2 in the Color Lab