Skip to content

#ba8ad2

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

RGB
186, 138, 210
HSL
280°, 44%, 68%
CMYK
11, 34, 0, 18
Luminance
0.3327

At a glance

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

Hex
#ba8ad2
Hue
280°
violet
Saturation
44%
soft
Lightness
68%
light
Brightness
82%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3327
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.65:1
Closest name
Plum
ΔE2000 8.4
Where it sits
Hue280° of 360°
Saturation44%
Lightness68%
Temperature
Warm ← → Cool61% 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#ba8ad2
RGBrgb(186, 138, 210)
HSLhsl(280, 44%, 68%)
CMYKcmyk(11%, 34%, 0%, 18%)
LABlab(64.4 31.2 -30.0)
LCHlch(64.4 43.3 316.2)
OKLCHoklch(0.705 0.115 314.0)
Decimal12225234
Display P3color(display-p3 0.729 0.541 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8ad2 on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#ba8ad2 on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E99D5
deuteranopia · #8A9DD0
tritanopia · #B893A5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba8ad2 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
#F1EAF5
#E2D1EB
#CFAEE0
#ba8ad2
#9F5DC1
#8D44B1
#753993
#5E2D76
#462456
#2B1736
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #2B1736
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F1EAF5;
  --brand-200: #E2D1EB;
  --brand-300: #CFAEE0;
  --brand-400: #ba8ad2;
  --brand-500: #9F5DC1;
  --brand-600: #8D44B1;
  --brand-700: #753993;
  --brand-800: #5E2D76;
  --brand-900: #462456;
  --brand-950: #2B1736;
  --brand: #ba8ad2;
  --brand-ink: #000000;
}

Colors that work with #ba8ad2

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#F8F4FA
Tinted page background
Border#DCC4E8
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#6E9735
Second voice, not a rival
Dark variant#49235C
Hover, pressed, headers
Light variant#F4EDF8
Selected rows, tints
Dark surface#1F1424
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 #ba8ad2

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#A2D28A
Analogous left#968AD2
Analogous right#D28AC6
Split-complement 1#C6D28A
Split-complement 2#8AD296
Triadic 1#D2BA8A
Triadic 2#8AD2BA
Tetradic#D2968A

RGB percentages

Red72.9%
Green54.1%
Blue82.4%

CMYK percentages

Cyan11.4%
Magenta34.3%
Yellow0.0%
Key (black)17.6%

Color previews

#ba8ad2 text on a black background

contrast 7.65:1

Card sample

#ba8ad2 text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8ad2

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.

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

#ba8ad2, answered

What color is #ba8ad2?

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

What is the RGB value of #ba8ad2?

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

Is #ba8ad2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3327 and perceived brightness is 64%, so black text on it reaches 7.65:1.

Should I use black or white text on #ba8ad2?

Black. It scores 7.65:1 against #ba8ad2, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #ba8ad2?

#A2D28A sits directly opposite on the wheel. Softer options are the split-complements #C6D28A and #8AD296, which give the same contrast with far less vibration.

What colors go well with #ba8ad2?

For interface work: #F8F4FA as the surface, #DCC4E8 for borders, #804B9B for secondary text, #6E9735 as an accent and #49235C for hover and pressed states. For a palette, the analogous pair #968AD2 and #D28AC6 stays calm, while #A2D28A is the loudest partner.

What is #ba8ad2 in CMYK for printing?

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

Is #ba8ad2 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D28AD0; nudged cooler, #9F88D4.

Work with #ba8ad2 in the Color Lab