Skip to content

#bba6dc

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

RGB
187, 166, 220
HSL
263°, 44%, 76%
CMYK
15, 25, 0, 14
Luminance
0.4300

Every format

HEX#bba6dc
RGBrgb(187, 166, 220)
HSLhsl(263, 44%, 76%)
CMYKcmyk(15%, 25%, 0%, 14%)
LABlab(71.6 18.1 -24.5)
LCHlch(71.6 30.5 306.5)
OKLCHoklch(0.762 0.079 302.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba6dc on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#bba6dc on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green65.1%
Blue86.3%

CMYK percentages

Cyan15.0%
Magenta24.5%
Yellow0.0%
Key (black)13.7%

Color previews

#bba6dc text on a black background

contrast 9.60:1

Card sample

#bba6dc text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 166, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 166, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba6dc;
background: linear-gradient(135deg, #bba6dc, #DCA6D9);

Monochromatic scale

Palettes built from #bba6dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba6dc in the Color Lab