Skip to content

#bf30ec

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

RGB
191, 48, 236
HSL
286°, 83%, 56%
CMYK
19, 80, 0, 8
Luminance
0.1925

Every format

HEX#bf30ec
RGBrgb(191, 48, 236)
HSLhsl(286, 83%, 56%)
CMYKcmyk(19%, 80%, 0%, 8%)
LABlab(51.0 78.6 -65.8)
LCHlch(51.0 102.5 320.1)
OKLCHoklch(0.613 0.268 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bf30ec on white: 4.33:1
AA ✗ fail · AA-large · AAA
Aa
#bf30ec on black: 4.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green18.8%
Blue92.5%

CMYK percentages

Cyan19.1%
Magenta79.7%
Yellow0.0%
Key (black)7.5%

Color previews

#bf30ec text on a black background

contrast 4.85:1

Card sample

#bf30ec text on a white background

contrast 4.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bf30ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bf30ec in the Color Lab