Skip to content

#bc9af8

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

RGB
188, 154, 248
HSL
262°, 87%, 79%
CMYK
24, 38, 0, 3
Luminance
0.4058

Every format

HEX#bc9af8
RGBrgb(188, 154, 248)
HSLhsl(262, 87%, 79%)
CMYKcmyk(24%, 38%, 0%, 3%)
LABlab(69.9 31.4 -42.4)
LCHlch(69.9 52.7 306.5)
OKLCHoklch(0.753 0.136 299.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9af8 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#bc9af8 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green60.4%
Blue97.3%

CMYK percentages

Cyan24.2%
Magenta37.9%
Yellow0.0%
Key (black)2.7%

Color previews

#bc9af8 text on a black background

contrast 9.12:1

Card sample

#bc9af8 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9af8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9af8 in the Color Lab