Skip to content

#bba2c7

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

RGB
187, 162, 199
HSL
281°, 25%, 71%
CMYK
6, 19, 0, 22
Luminance
0.4053

Every format

HEX#bba2c7
RGBrgb(187, 162, 199)
HSLhsl(281, 25%, 71%)
CMYKcmyk(6%, 19%, 0%, 22%)
LABlab(69.8 15.9 -15.5)
LCHlch(69.8 22.3 315.7)
OKLCHoklch(0.746 0.059 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba2c7 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#bba2c7 on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green63.5%
Blue78.0%

CMYK percentages

Cyan6.0%
Magenta18.6%
Yellow0.0%
Key (black)22.0%

Color previews

#bba2c7 text on a black background

contrast 9.11:1

Card sample

#bba2c7 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba2c7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba2c7 in the Color Lab