Skip to content

#ba9cd8

a light, soft violet · cool · closest name: Plum

RGB
186, 156, 216
HSL
270°, 44%, 73%
CMYK
14, 28, 0, 15
Luminance
0.3917

At a glance

Every number on this page in one read: what #ba9cd8 is made of, how bright it looks, and which way it leans.

Hex
#ba9cd8
Hue
270°
violet
Saturation
44%
soft
Lightness
73%
light
Brightness
85%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3917
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.83:1
Closest name
Plum
ΔE2000 7.5
Where it sits
Hue270° of 360°
Saturation44%
Lightness73%
Temperature
Warm ← → Cool67% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ba9cd8
RGBrgb(186, 156, 216)
HSLhsl(270, 44%, 73%)
CMYKcmyk(14%, 28%, 0%, 15%)
LABlab(68.9 22.5 -26.4)
LCHlch(68.9 34.7 310.4)
OKLCHoklch(0.741 0.091 307.1)
Decimal12229848
Display P3color(display-p3 0.729 0.612 0.847)

Copy-ready code

/* CSS */
color: #ba9cd8;
background-color: #ba9cd8;
/* Tailwind (arbitrary) */
class="text-[#ba9cd8] bg-[#ba9cd8]"
/* SCSS */
$brand: #ba9cd8;
/* SwiftUI */
Color(red: 0.729, green: 0.612, blue: 0.847)
/* Android */
Color.parseColor("#ba9cd8")
/* Flutter */
Color(0xFFBA9CD8)
/* Python / OpenCV (BGR) */
(216, 156, 186)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ba9cd8 · 8.83:1
Use #000000AAA at every size.
Aa
White text · 2.38:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.83:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ba9cd8 as text scores 2.38:1 on white and 8.83:1 on black.

Accessibility — WCAG contrast

Aa
#ba9cd8 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#ba9cd8 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91A7DA
deuteranopia · #97A8D6
tritanopia · #B6A4B1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba9cd8 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F5FA
#F0EBF5
#DED1EB
#ba9cd8
#AB86CF
#8F5EC0
#7A45B0
#663A92
#522E75
#3D2556
#261736
Base = 300Lightest = 50 · #F7F5FADarkest = 950 · #261736
:root {
  --brand-50: #F7F5FA;
  --brand-100: #F0EBF5;
  --brand-200: #DED1EB;
  --brand-300: #ba9cd8;
  --brand-400: #AB86CF;
  --brand-500: #8F5EC0;
  --brand-600: #7A45B0;
  --brand-700: #663A92;
  --brand-800: #522E75;
  --brand-900: #3D2556;
  --brand-950: #261736;
  --brand: #ba9cd8;
  --brand-ink: #000000;
}

Colors that work with #ba9cd8

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F4FA
Tinted page background
Border#D6C4E8
Hairlines and dividers
Muted text#734B9B
Captions on the surface
Accent#7E9735
Second voice, not a rival
Dark variant#40245B
Hover, pressed, headers
Light variant#F2EDF8
Selected rows, tints
Dark surface#1C1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ba9cd8

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#BAD89C
Analogous left#9C9CD8
Analogous right#D89CD8
Split-complement 1#D8D89C
Split-complement 2#9CD89C
Triadic 1#D8BA9C
Triadic 2#9CD8BA
Tetradic#D89C9C

RGB percentages

Red72.9%
Green61.2%
Blue84.7%

CMYK percentages

Cyan13.9%
Magenta27.8%
Yellow0.0%
Key (black)15.3%

Color previews

#ba9cd8 text on a black background

contrast 8.83:1

Card sample

#ba9cd8 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba9cd8

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ba9cd8 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ba9cd8, answered

What color is #ba9cd8?

#ba9cd8 is a light soft violet, closest to Plum (ΔE2000 7.5). It sits at 270° on the hue wheel with 44% saturation and 73% lightness, which reads as cool.

What is the RGB value of #ba9cd8?

rgb(186, 156, 216) — 186 red, 156 green and 216 blue out of 255, or 72.9% / 61.2% / 84.7% by channel.

Is #ba9cd8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3917 and perceived brightness is 68%, so black text on it reaches 8.83:1.

Should I use black or white text on #ba9cd8?

Black. It scores 8.83:1 against #ba9cd8, versus 2.38:1 for white — AAA at any size.

What is the complementary color of #ba9cd8?

#BAD89C sits directly opposite on the wheel. Softer options are the split-complements #D8D89C and #9CD89C, which give the same contrast with far less vibration.

What colors go well with #ba9cd8?

For interface work: #F7F4FA as the surface, #D6C4E8 for borders, #734B9B for secondary text, #7E9735 as an accent and #40245B for hover and pressed states. For a palette, the analogous pair #9C9CD8 and #D89CD8 stays calm, while #BAD89C is the loudest partner.

What is #ba9cd8 in CMYK for printing?

cmyk(14%, 28%, 0%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ba9cd8 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D09CD8; nudged cooler, #A39AD9.

Work with #ba9cd8 in the Color Lab