Skip to content

#ba3bda

a balanced, vivid violet · neutral · closest name: Medium Orchid

RGB
186, 59, 218
HSL
288°, 68%, 54%
CMYK
15, 73, 0, 15
Luminance
0.1863

At a glance

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

Hex
#ba3bda
Hue
288°
violet
Saturation
68%
vivid
Lightness
54%
balanced
Brightness
85%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1863
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.73:1
Closest name
Medium Orchid
ΔE2000 4.6
Where it sits
Hue288° of 360°
Saturation68%
Lightness54%
Temperature
Warm ← → Cool57% 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#ba3bda
RGBrgb(186, 59, 218)
HSLhsl(288, 68%, 54%)
CMYKcmyk(15%, 73%, 0%, 15%)
LABlab(50.3 71.0 -56.8)
LCHlch(50.3 90.9 321.3)
OKLCHoklch(0.603 0.241 318.6)
Decimal12205018
Display P3color(display-p3 0.729 0.231 0.855)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba3bda on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#ba3bda on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FDE
deuteranopia · #447CD6
tritanopia · #B95B88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba3bda is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF3FB
#F5E8F8
#EACAF2
#DEA1ED
#CD71E4
#ba3bda
#AC27CE
#9020AC
#731A89
#541764
#350E3E
Base = 500Lightest = 50 · #FAF3FBDarkest = 950 · #350E3E
:root {
  --brand-50: #FAF3FB;
  --brand-100: #F5E8F8;
  --brand-200: #EACAF2;
  --brand-300: #DEA1ED;
  --brand-400: #CD71E4;
  --brand-500: #ba3bda;
  --brand-600: #AC27CE;
  --brand-700: #9020AC;
  --brand-800: #731A89;
  --brand-900: #541764;
  --brand-950: #350E3E;
  --brand: #ba3bda;
  --brand-ink: #000000;
}

Colors that work with #ba3bda

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5FB01C
Second voice, not a rival
Dark variant#5A146B
Hover, pressed, headers
Light variant#F7EAFB
Selected rows, tints
Dark surface#211424
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 #ba3bda

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#5BDA3B
Analogous left#6A3BDA
Analogous right#DA3BAB
Split-complement 1#ABDA3B
Split-complement 2#3BDA6A
Triadic 1#DABA3B
Triadic 2#3BDABA
Tetradic#DA6A3B

RGB percentages

Red72.9%
Green23.1%
Blue85.5%

CMYK percentages

Cyan14.7%
Magenta72.9%
Yellow0.0%
Key (black)14.5%

Color previews

#ba3bda text on a black background

contrast 4.73:1

Card sample

#ba3bda text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba3bda

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.

#ba3bda 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ba3bda, answered

What color is #ba3bda?

#ba3bda is a balanced vivid violet, closest to Medium Orchid (ΔE2000 4.6). It sits at 288° on the hue wheel with 68% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #ba3bda?

rgb(186, 59, 218) — 186 red, 59 green and 218 blue out of 255, or 72.9% / 23.1% / 85.5% by channel.

Is #ba3bda a light or a dark color?

It is a mid-tone. Relative luminance is 0.1863 and perceived brightness is 52%, so black text on it reaches 4.73:1.

Should I use black or white text on #ba3bda?

Black. It scores 4.73:1 against #ba3bda, versus 4.44:1 for white — AA at any size.

What is the complementary color of #ba3bda?

#5BDA3B sits directly opposite on the wheel. Softer options are the split-complements #ABDA3B and #3BDA6A, which give the same contrast with far less vibration.

What colors go well with #ba3bda?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5FB01C as an accent and #5A146B for hover and pressed states. For a palette, the analogous pair #6A3BDA and #DA3BAB stays calm, while #5BDA3B is the loudest partner.

What is #ba3bda in CMYK for printing?

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

Is #ba3bda warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA3BC0; nudged cooler, #7F39DC.

Work with #ba3bda in the Color Lab