Skip to content

#bc9efb

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

RGB
188, 158, 251
HSL
259°, 92%, 80%
CMYK
25, 37, 0, 2
Luminance
0.4211

Every format

HEX#bc9efb
RGBrgb(188, 158, 251)
HSLhsl(259, 92%, 80%)
CMYKcmyk(25%, 37%, 0%, 2%)
LABlab(71.0 29.9 -42.4)
LCHlch(71.0 51.8 305.2)
OKLCHoklch(0.761 0.134 298.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9efb on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#bc9efb on black: 9.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green62.0%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta37.1%
Yellow0.0%
Key (black)1.6%

Color previews

#bc9efb text on a black background

contrast 9.42:1

Card sample

#bc9efb text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9efb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9efb in the Color Lab