Skip to content

#ba89db

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

RGB
186, 137, 219
HSL
276°, 53%, 70%
CMYK
15, 37, 0, 14
Luminance
0.3344

Every format

HEX#ba89db
RGBrgb(186, 137, 219)
HSLhsl(276, 53%, 70%)
CMYKcmyk(15%, 37%, 0%, 14%)
LABlab(64.5 33.7 -34.8)
LCHlch(64.5 48.5 314.1)
OKLCHoklch(0.708 0.127 310.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba89db on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#ba89db on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green53.7%
Blue85.9%

CMYK percentages

Cyan15.1%
Magenta37.4%
Yellow0.0%
Key (black)14.1%

Color previews

#ba89db text on a black background

contrast 7.69:1

Card sample

#ba89db text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba89db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ba89db in the Color Lab