Skip to content

#bc3afd

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

RGB
188, 58, 253
HSL
280°, 98%, 61%
CMYK
26, 77, 0, 1
Luminance
0.2081

Every format

HEX#bc3afd
RGBrgb(188, 58, 253)
HSLhsl(280, 98%, 61%)
CMYKcmyk(26%, 77%, 0%, 1%)
LABlab(52.7 78.3 -72.5)
LCHlch(52.7 106.7 317.2)
OKLCHoklch(0.628 0.273 311.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc3afd on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#bc3afd on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green22.7%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#bc3afd text on a black background

contrast 5.16:1

Card sample

#bc3afd text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc3afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc3afd in the Color Lab