Skip to content

#bc2af4

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

RGB
188, 42, 244
HSL
283°, 90%, 56%
CMYK
23, 83, 0, 4
Luminance
0.1888

Every format

HEX#bc2af4
RGBrgb(188, 42, 244)
HSLhsl(283, 90%, 56%)
CMYKcmyk(23%, 83%, 0%, 4%)
LABlab(50.5 81.2 -71.0)
LCHlch(50.5 107.8 318.8)
OKLCHoklch(0.611 0.278 313.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2af4 on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#bc2af4 on black: 4.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green16.5%
Blue95.7%

CMYK percentages

Cyan23.0%
Magenta82.8%
Yellow0.0%
Key (black)4.3%

Color previews

#bc2af4 text on a black background

contrast 4.78:1

Card sample

#bc2af4 text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2af4 in the Color Lab