Skip to content

#bc8afd

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

RGB
188, 138, 253
HSL
266°, 97%, 77%
CMYK
26, 46, 0, 1
Luminance
0.3596

Every format

HEX#bc8afd
RGBrgb(188, 138, 253)
HSLhsl(266, 97%, 77%)
CMYKcmyk(26%, 46%, 0%, 1%)
LABlab(66.5 41.4 -50.5)
LCHlch(66.5 65.2 309.4)
OKLCHoklch(0.728 0.168 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc8afd on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#bc8afd on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green54.1%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta45.5%
Yellow0.0%
Key (black)0.8%

Color previews

#bc8afd text on a black background

contrast 8.19:1

Card sample

#bc8afd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc8afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc8afd in the Color Lab