Skip to content

#bc0cfd

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

RGB
188, 12, 253
HSL
284°, 98%, 52%
CMYK
26, 95, 0, 1
Luminance
0.1805

Every format

HEX#bc0cfd
RGBrgb(188, 12, 253)
HSLhsl(284, 98%, 52%)
CMYKcmyk(26%, 95%, 0%, 1%)
LABlab(49.5 87.7 -77.7)
LCHlch(49.5 117.1 318.5)
OKLCHoklch(0.606 0.299 312.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc0cfd on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#bc0cfd on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green4.7%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#bc0cfd text on a black background

contrast 4.61:1

Card sample

#bc0cfd text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc0cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc0cfd in the Color Lab