Skip to content

#ba9bc2

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

RGB
186, 155, 194
HSL
288°, 24%, 68%
CMYK
4, 20, 0, 24
Luminance
0.3778

At a glance

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

Hex
#ba9bc2
Hue
288°
violet
Saturation
24%
soft
Lightness
68%
light
Brightness
76%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3778
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.56:1
Closest name
Plum
ΔE2000 7.9
Where it sits
Hue288° of 360°
Saturation24%
Lightness68%
Temperature
Warm ← → Cool55% 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#ba9bc2
RGBrgb(186, 155, 194)
HSLhsl(288, 24%, 68%)
CMYKcmyk(4%, 20%, 0%, 24%)
LABlab(67.9 18.5 -15.8)
LCHlch(67.9 24.3 319.5)
OKLCHoklch(0.730 0.065 319.3)
Decimal12229570
Display P3color(display-p3 0.729 0.608 0.761)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba9bc2 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#ba9bc2 on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97A3C4
deuteranopia · #9DA6C1
tritanopia · #BB9FA8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba9bc2 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.

#F8F6F9
#F1EDF3
#E2D7E5
#CFB9D4
#ba9bc2
#9F74AA
#8C5D98
#754D7F
#5D3E65
#45304B
#2B1E2F
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #2B1E2F
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F1EDF3;
  --brand-200: #E2D7E5;
  --brand-300: #CFB9D4;
  --brand-400: #ba9bc2;
  --brand-500: #9F74AA;
  --brand-600: #8C5D98;
  --brand-700: #754D7F;
  --brand-800: #5D3E65;
  --brand-900: #45304B;
  --brand-950: #2B1E2F;
  --brand: #ba9bc2;
  --brand-ink: #000000;
}

Colors that work with #ba9bc2

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#F8F5F9
Tinted page background
Border#DCCCE0
Hairlines and dividers
Muted text#83578F
Captions on the surface
Accent#638349
Second voice, not a rival
Dark variant#49304F
Hover, pressed, headers
Light variant#F4EFF5
Selected rows, tints
Dark surface#201523
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 #ba9bc2

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#A3C29B
Analogous left#A69BC2
Analogous right#C29BB6
Split-complement 1#B6C29B
Split-complement 2#9BC2A6
Triadic 1#C2BA9B
Triadic 2#9BC2BA
Tetradic#C2A69B

RGB percentages

Red72.9%
Green60.8%
Blue76.1%

CMYK percentages

Cyan4.1%
Magenta20.1%
Yellow0.0%
Key (black)23.9%

Color previews

#ba9bc2 text on a black background

contrast 8.56:1

Card sample

#ba9bc2 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba9bc2

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.

#ba9bc2 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.

#ba9bc2, answered

What color is #ba9bc2?

#ba9bc2 is a light soft violet, closest to Plum (ΔE2000 7.9). It sits at 288° on the hue wheel with 24% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #ba9bc2?

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

Is #ba9bc2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3778 and perceived brightness is 66%, so black text on it reaches 8.56:1.

Should I use black or white text on #ba9bc2?

Black. It scores 8.56:1 against #ba9bc2, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #ba9bc2?

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

What colors go well with #ba9bc2?

For interface work: #F8F5F9 as the surface, #DCCCE0 for borders, #83578F for secondary text, #638349 as an accent and #49304F for hover and pressed states. For a palette, the analogous pair #A69BC2 and #C29BB6 stays calm, while #A3C29B is the loudest partner.

What is #ba9bc2 in CMYK for printing?

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

Is #ba9bc2 warm or cool?

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

Work with #ba9bc2 in the Color Lab