Skip to content

#bc9dfd

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

RGB
188, 157, 253
HSL
259°, 96%, 80%
CMYK
26, 38, 0, 1
Luminance
0.4190

Every format

HEX#bc9dfd
RGBrgb(188, 157, 253)
HSLhsl(259, 96%, 80%)
CMYKcmyk(26%, 38%, 0%, 1%)
LABlab(70.8 30.9 -43.7)
LCHlch(70.8 53.5 305.3)
OKLCHoklch(0.760 0.138 297.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9dfd on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#bc9dfd on black: 9.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.6%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#bc9dfd text on a black background

contrast 9.38:1

Card sample

#bc9dfd text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9dfd in the Color Lab