Skip to content

#bc2fff

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

RGB
188, 47, 255
HSL
281°, 100%, 59%
CMYK
26, 82, 0, 0
Luminance
0.1994

Every format

HEX#bc2fff
RGBrgb(188, 47, 255)
HSLhsl(281, 100%, 59%)
CMYKcmyk(26%, 82%, 0%, 0%)
LABlab(51.8 81.9 -75.2)
LCHlch(51.8 111.2 317.5)
OKLCHoklch(0.622 0.283 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2fff on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#bc2fff on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green18.4%
Blue100.0%

CMYK percentages

Cyan26.3%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#bc2fff text on a black background

contrast 4.99:1

Card sample

#bc2fff text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2fff in the Color Lab