Skip to content

#ba9cd0

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

RGB
186, 156, 208
HSL
275°, 36%, 71%
CMYK
11, 25, 0, 18
Luminance
0.3877

At a glance

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

Hex
#ba9cd0
Hue
275°
violet
Saturation
36%
soft
Lightness
71%
light
Brightness
82%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3877
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
8.75:1
Closest name
Plum
ΔE2000 7.2
Where it sits
Hue275° of 360°
Saturation36%
Lightness71%
Temperature
Warm ← → Cool64% 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#ba9cd0
RGBrgb(186, 156, 208)
HSLhsl(275, 36%, 71%)
CMYKcmyk(11%, 25%, 0%, 18%)
LABlab(68.6 20.8 -22.4)
LCHlch(68.6 30.6 312.8)
OKLCHoklch(0.737 0.080 310.6)
Decimal12229840
Display P3color(display-p3 0.729 0.612 0.816)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba9cd0 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#ba9cd0 on black: 8.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94A6D2
deuteranopia · #9AA8CE
tritanopia · #B8A3AE

Color scale — 50 to 950

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

#F8F5F9
#F0EBF4
#DFD3E8
#CAB3DB
#ba9cd0
#9567B7
#814FA6
#6C428A
#56356F
#402951
#281A33
Base = 400Lightest = 50 · #F8F5F9Darkest = 950 · #281A33
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F0EBF4;
  --brand-200: #DFD3E8;
  --brand-300: #CAB3DB;
  --brand-400: #ba9cd0;
  --brand-500: #9567B7;
  --brand-600: #814FA6;
  --brand-700: #6C428A;
  --brand-800: #56356F;
  --brand-900: #402951;
  --brand-950: #281A33;
  --brand: #ba9cd0;
  --brand-ink: #000000;
}

Colors that work with #ba9cd0

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#F8F5FA
Tinted page background
Border#D8C8E5
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#748E3E
Second voice, not a rival
Dark variant#432956
Hover, pressed, headers
Light variant#F3EEF7
Selected rows, tints
Dark surface#1D1424
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 #ba9cd0

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#B2D09C
Analogous left#A09CD0
Analogous right#D09CCC
Split-complement 1#CCD09C
Split-complement 2#9CD0A0
Triadic 1#D0BA9C
Triadic 2#9CD0BA
Tetradic#D0A09C

RGB percentages

Red72.9%
Green61.2%
Blue81.6%

CMYK percentages

Cyan10.6%
Magenta25.0%
Yellow0.0%
Key (black)18.4%

Color previews

#ba9cd0 text on a black background

contrast 8.75:1

Card sample

#ba9cd0 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba9cd0

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.

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

#ba9cd0, answered

What color is #ba9cd0?

#ba9cd0 is a light soft violet, closest to Plum (ΔE2000 7.2). It sits at 275° on the hue wheel with 36% saturation and 71% lightness, which reads as cool.

What is the RGB value of #ba9cd0?

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

Is #ba9cd0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3877 and perceived brightness is 67%, so black text on it reaches 8.75:1.

Should I use black or white text on #ba9cd0?

Black. It scores 8.75:1 against #ba9cd0, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #ba9cd0?

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

What colors go well with #ba9cd0?

For interface work: #F8F5FA as the surface, #D8C8E5 for borders, #794B9B for secondary text, #748E3E as an accent and #432956 for hover and pressed states. For a palette, the analogous pair #A09CD0 and #D09CCC stays calm, while #B2D09C is the loudest partner.

What is #ba9cd0 in CMYK for printing?

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

Is #ba9cd0 warm or cool?

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

Work with #ba9cd0 in the Color Lab