Skip to content

#ba89ce

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

RGB
186, 137, 206
HSL
283°, 41%, 67%
CMYK
10, 34, 0, 19
Luminance
0.3279

Every format

HEX#ba89ce
RGBrgb(186, 137, 206)
HSLhsl(283, 41%, 67%)
CMYKcmyk(10%, 34%, 0%, 19%)
LABlab(64.0 31.0 -28.4)
LCHlch(64.0 42.0 317.5)
OKLCHoklch(0.702 0.112 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba89ce on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#ba89ce on black: 7.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green53.7%
Blue80.8%

CMYK percentages

Cyan9.7%
Magenta33.5%
Yellow0.0%
Key (black)19.2%

Color previews

#ba89ce text on a black background

contrast 7.56:1

Card sample

#ba89ce text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 137, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 137, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba89ce;
background: linear-gradient(135deg, #ba89ce, #CE89B4);

Monochromatic scale

Palettes built from #ba89ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba89ce in the Color Lab