Skip to content

#bc9afd

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

RGB
188, 154, 253
HSL
261°, 96%, 80%
CMYK
26, 39, 0, 1
Luminance
0.4089

Every format

HEX#bc9afd
RGBrgb(188, 154, 253)
HSLhsl(261, 96%, 80%)
CMYKcmyk(26%, 39%, 0%, 1%)
LABlab(70.1 32.5 -44.8)
LCHlch(70.1 55.3 306.0)
OKLCHoklch(0.755 0.142 298.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9afd on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#bc9afd on black: 9.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green60.4%
Blue99.2%

CMYK percentages

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

Color previews

#bc9afd text on a black background

contrast 9.18:1

Card sample

#bc9afd text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9afd in the Color Lab