Skip to content

#ba89cd

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

RGB
186, 137, 205
HSL
283°, 41%, 67%
CMYK
9, 33, 0, 20
Luminance
0.3274

At a glance

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

Hex
#ba89cd
Hue
283°
violet
Saturation
41%
soft
Lightness
67%
light
Brightness
80%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3274
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.55:1
Closest name
Plum
ΔE2000 8.2
Where it sits
Hue283° of 360°
Saturation41%
Lightness67%
Temperature
Warm ← → Cool59% 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#ba89cd
RGBrgb(186, 137, 205)
HSLhsl(283, 41%, 67%)
CMYKcmyk(9%, 33%, 0%, 20%)
LABlab(64.0 30.8 -27.9)
LCHlch(64.0 41.5 317.8)
OKLCHoklch(0.701 0.110 316.3)
Decimal12224973
Display P3color(display-p3 0.729 0.537 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba89cd on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#ba89cd on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F98D0
deuteranopia · #8B9CCB
tritanopia · #BA91A2

Color scale — 50 to 950

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

#F8F5FA
#F2EBF5
#E3D2EA
#D1B0DE
#ba89cd
#A361BC
#9049AC
#783D8F
#603173
#472654
#2D1835
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #2D1835
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F2EBF5;
  --brand-200: #E3D2EA;
  --brand-300: #D1B0DE;
  --brand-400: #ba89cd;
  --brand-500: #A361BC;
  --brand-600: #9049AC;
  --brand-700: #783D8F;
  --brand-800: #603173;
  --brand-900: #472654;
  --brand-950: #2D1835;
  --brand: #ba89cd;
  --brand-ink: #000000;
}

Colors that work with #ba89cd

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#F9F4FA
Tinted page background
Border#DDC6E7
Hairlines and dividers
Muted text#844B9B
Captions on the surface
Accent#689339
Second voice, not a rival
Dark variant#4B265A
Hover, pressed, headers
Light variant#F5EDF7
Selected rows, tints
Dark surface#201424
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 #ba89cd

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#9CCD89
Analogous left#9889CD
Analogous right#CD89BE
Split-complement 1#BECD89
Split-complement 2#89CD98
Triadic 1#CDBA89
Triadic 2#89CDBA
Tetradic#CD9889

RGB percentages

Red72.9%
Green53.7%
Blue80.4%

CMYK percentages

Cyan9.3%
Magenta33.2%
Yellow0.0%
Key (black)19.6%

Color previews

#ba89cd text on a black background

contrast 7.55:1

Card sample

#ba89cd text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba89cd

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.

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

#ba89cd, answered

What color is #ba89cd?

#ba89cd is a light soft violet, closest to Plum (ΔE2000 8.2). It sits at 283° on the hue wheel with 41% saturation and 67% lightness, which reads as cool.

What is the RGB value of #ba89cd?

rgb(186, 137, 205) — 186 red, 137 green and 205 blue out of 255, or 72.9% / 53.7% / 80.4% by channel.

Is #ba89cd a light or a dark color?

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

Should I use black or white text on #ba89cd?

Black. It scores 7.55:1 against #ba89cd, versus 2.78:1 for white — AAA at any size.

What is the complementary color of #ba89cd?

#9CCD89 sits directly opposite on the wheel. Softer options are the split-complements #BECD89 and #89CD98, which give the same contrast with far less vibration.

What colors go well with #ba89cd?

For interface work: #F9F4FA as the surface, #DDC6E7 for borders, #844B9B for secondary text, #689339 as an accent and #4B265A for hover and pressed states. For a palette, the analogous pair #9889CD and #CD89BE stays calm, while #9CCD89 is the loudest partner.

What is #ba89cd in CMYK for printing?

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

Is #ba89cd warm or cool?

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

Work with #ba89cd in the Color Lab