Skip to content

#bc8cfd

a light, electric violet · warm · closest name: violet

RGB
188, 140, 253
HSL
266°, 97%, 77%
CMYK
26, 45, 0, 1
Luminance
0.3654

Every format

HEX#bc8cfd
RGBrgb(188, 140, 253)
HSLhsl(266, 97%, 77%)
CMYKcmyk(26%, 45%, 0%, 1%)
LABlab(66.9 40.3 -49.8)
LCHlch(66.9 64.0 309.0)
OKLCHoklch(0.731 0.164 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc8cfd on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#bc8cfd on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green54.9%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta44.7%
Yellow0.0%
Key (black)0.8%

Color previews

#bc8cfd text on a black background

contrast 8.31:1

Card sample

#bc8cfd text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc8cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc8cfd in the Color Lab