Skip to content

#ba8ac2

a light, soft magenta / pink · neutral · closest name: Plum

RGB
186, 138, 194
HSL
291°, 32%, 65%
CMYK
4, 29, 0, 24
Luminance
0.3251

At a glance

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

Hex
#ba8ac2
Hue
291°
magenta / pink
Saturation
32%
soft
Lightness
65%
light
Brightness
76%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3251
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.50:1
Closest name
Plum
ΔE2000 7.9
Where it sits
Hue291° of 360°
Saturation32%
Lightness65%
Temperature
Warm ← → Cool54% cool

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

Every format

HEX#ba8ac2
RGBrgb(186, 138, 194)
HSLhsl(291, 32%, 65%)
CMYKcmyk(4%, 29%, 0%, 24%)
LABlab(63.8 28.0 -22.0)
LCHlch(63.8 35.6 321.8)
OKLCHoklch(0.699 0.096 321.6)
Decimal12225218
Display P3color(display-p3 0.729 0.541 0.761)

Copy-ready code

/* CSS */
color: #ba8ac2;
background-color: #ba8ac2;
/* Tailwind (arbitrary) */
class="text-[#ba8ac2] bg-[#ba8ac2]"
/* SCSS */
$brand: #ba8ac2;
/* SwiftUI */
Color(red: 0.729, green: 0.541, blue: 0.761)
/* Android */
Color.parseColor("#ba8ac2")
/* Flutter */
Color(0xFFBA8AC2)
/* Python / OpenCV (BGR) */
(194, 138, 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 #ba8ac2 · 7.50:1
Use #000000AAA at every size.
Aa
White text · 2.80:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.50:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ba8ac2 as text scores 2.80:1 on white and 7.50:1 on black.

Accessibility — WCAG contrast

Aa
#ba8ac2 on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#ba8ac2 on black: 7.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8497C4
deuteranopia · #8F9CC0
tritanopia · #BC909E

Color scale — 50 to 950

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

#F9F5F9
#F2ECF3
#E4D5E7
#D4B5D9
#ba8ac2
#A86BB2
#9654A1
#7D4686
#64386B
#4A2B4F
#2E1B31
Base = 400Lightest = 50 · #F9F5F9Darkest = 950 · #2E1B31
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F2ECF3;
  --brand-200: #E4D5E7;
  --brand-300: #D4B5D9;
  --brand-400: #ba8ac2;
  --brand-500: #A86BB2;
  --brand-600: #9654A1;
  --brand-700: #7D4686;
  --brand-800: #64386B;
  --brand-900: #4A2B4F;
  --brand-950: #2E1B31;
  --brand: #ba8ac2;
  --brand-ink: #000000;
}

Colors that work with #ba8ac2

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#F9F5FA
Tinted page background
Border#DFC9E3
Hairlines and dividers
Muted text#8D4F97
Captions on the surface
Accent#5E8B41
Second voice, not a rival
Dark variant#4E2C54
Hover, pressed, headers
Light variant#F5EEF6
Selected rows, tints
Dark surface#221424
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 #ba8ac2

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#92C28A
Analogous left#9E8AC2
Analogous right#C28AAE
Split-complement 1#AEC28A
Split-complement 2#8AC29E
Triadic 1#C2BA8A
Triadic 2#8AC2BA
Tetradic#C29E8A

RGB percentages

Red72.9%
Green54.1%
Blue76.1%

CMYK percentages

Cyan4.1%
Magenta28.9%
Yellow0.0%
Key (black)23.9%

Color previews

#ba8ac2 text on a black background

contrast 7.50:1

Card sample

#ba8ac2 text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8ac2

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.

#ba8ac2 in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#ba8ac2, answered

What color is #ba8ac2?

#ba8ac2 is a light soft magenta / pink, closest to Plum (ΔE2000 7.9). It sits at 291° on the hue wheel with 32% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #ba8ac2?

rgb(186, 138, 194) — 186 red, 138 green and 194 blue out of 255, or 72.9% / 54.1% / 76.1% by channel.

Is #ba8ac2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3251 and perceived brightness is 63%, so black text on it reaches 7.50:1.

Should I use black or white text on #ba8ac2?

Black. It scores 7.50:1 against #ba8ac2, versus 2.80:1 for white — AAA at any size.

What is the complementary color of #ba8ac2?

#92C28A sits directly opposite on the wheel. Softer options are the split-complements #AEC28A and #8AC29E, which give the same contrast with far less vibration.

What colors go well with #ba8ac2?

For interface work: #F9F5FA as the surface, #DFC9E3 for borders, #8D4F97 for secondary text, #5E8B41 as an accent and #4E2C54 for hover and pressed states. For a palette, the analogous pair #9E8AC2 and #C28AAE stays calm, while #92C28A is the loudest partner.

What is #ba8ac2 in CMYK for printing?

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

Is #ba8ac2 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C28AB6; nudged cooler, #A588C4.

Work with #ba8ac2 in the Color Lab