Skip to content

#ba8ddb

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

RGB
186, 141, 219
HSL
275°, 52%, 71%
CMYK
15, 36, 0, 14
Luminance
0.3460

At a glance

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

Hex
#ba8ddb
Hue
275°
violet
Saturation
52%
vivid
Lightness
71%
light
Brightness
86%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3460
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
7.92:1
Closest name
Plum
ΔE2000 8.8
Where it sits
Hue275° of 360°
Saturation52%
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#ba8ddb
RGBrgb(186, 141, 219)
HSLhsl(275, 52%, 71%)
CMYKcmyk(15%, 36%, 0%, 14%)
LABlab(65.4 31.5 -33.4)
LCHlch(65.4 45.9 313.3)
OKLCHoklch(0.715 0.120 310.0)
Decimal12226011
Display P3color(display-p3 0.729 0.553 0.859)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba8ddb on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#ba8ddb on black: 7.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E9DDE
deuteranopia · #88A0D9
tritanopia · #B698AA

Color scale — 50 to 950

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

#F8F4FA
#F1E9F6
#E0CFED
#CBAAE4
#ba8ddb
#9854C9
#843BBA
#6E319B
#58277C
#42205A
#291439
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #291439
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1E9F6;
  --brand-200: #E0CFED;
  --brand-300: #CBAAE4;
  --brand-400: #ba8ddb;
  --brand-500: #9854C9;
  --brand-600: #843BBA;
  --brand-700: #6E319B;
  --brand-800: #58277C;
  --brand-900: #42205A;
  --brand-950: #291439;
  --brand: #ba8ddb;
  --brand-ink: #000000;
}

Colors that work with #ba8ddb

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#D9C1EB
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#7A9F2D
Second voice, not a rival
Dark variant#451F61
Hover, pressed, headers
Light variant#F3ECF9
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 #ba8ddb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#AEDB8D
Analogous left#938DDB
Analogous right#DB8DD5
Split-complement 1#D5DB8D
Split-complement 2#8DDB93
Triadic 1#DBBA8D
Triadic 2#8DDBBA
Tetradic#DB938D

RGB percentages

Red72.9%
Green55.3%
Blue85.9%

CMYK percentages

Cyan15.1%
Magenta35.6%
Yellow0.0%
Key (black)14.1%

Color previews

#ba8ddb text on a black background

contrast 7.92:1

Card sample

#ba8ddb text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba8ddb

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.

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

#ba8ddb, answered

What color is #ba8ddb?

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

What is the RGB value of #ba8ddb?

rgb(186, 141, 219) — 186 red, 141 green and 219 blue out of 255, or 72.9% / 55.3% / 85.9% by channel.

Is #ba8ddb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3460 and perceived brightness is 65%, so black text on it reaches 7.92:1.

Should I use black or white text on #ba8ddb?

Black. It scores 7.92:1 against #ba8ddb, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #ba8ddb?

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

What colors go well with #ba8ddb?

For interface work: #F8F4FA as the surface, #D9C1EB for borders, #794B9B for secondary text, #7A9F2D as an accent and #451F61 for hover and pressed states. For a palette, the analogous pair #938DDB and #DB8DD5 stays calm, while #AEDB8D is the loudest partner.

What is #ba8ddb in CMYK for printing?

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

Is #ba8ddb 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 #D78DDB; nudged cooler, #9D8CDD.

Work with #ba8ddb in the Color Lab