Skip to content

#bba8cd

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

RGB
187, 168, 205
HSL
271°, 27%, 73%
CMYK
9, 18, 0, 20
Luminance
0.4298

Every format

HEX#bba8cd
RGBrgb(187, 168, 205)
HSLhsl(271, 27%, 73%)
CMYKcmyk(9%, 18%, 0%, 20%)
LABlab(71.5 13.8 -16.3)
LCHlch(71.5 21.4 310.4)
OKLCHoklch(0.760 0.056 308.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green65.9%
Blue80.4%

CMYK percentages

Cyan8.8%
Magenta18.0%
Yellow0.0%
Key (black)19.6%

Color previews

#bba8cd text on a black background

contrast 9.60:1

Card sample

#bba8cd text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba8cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba8cd in the Color Lab