Skip to content

#ba2bc6

a balanced, vivid magenta / pink · neutral · closest name: Dark Orchid

RGB
186, 43, 198
HSL
295°, 64%, 47%
CMYK
6, 78, 0, 22
Luminance
0.1624

At a glance

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

Hex
#ba2bc6
Hue
295°
magenta / pink
Saturation
64%
vivid
Lightness
47%
balanced
Brightness
78%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1624
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.94:1
Closest name
Dark Orchid
ΔE2000 6.4
Where it sits
Hue295° of 360°
Saturation64%
Lightness47%
Temperature
Warm ← → Cool53% 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#ba2bc6
RGBrgb(186, 43, 198)
HSLhsl(295, 64%, 47%)
CMYKcmyk(6%, 78%, 0%, 22%)
LABlab(47.3 72.5 -50.1)
LCHlch(47.3 88.1 325.4)
OKLCHoklch(0.578 0.241 324.6)
Decimal12200902
Display P3color(display-p3 0.729 0.169 0.776)

Copy-ready code

/* CSS */
color: #ba2bc6;
background-color: #ba2bc6;
/* Tailwind (arbitrary) */
class="text-[#ba2bc6] bg-[#ba2bc6]"
/* SCSS */
$brand: #ba2bc6;
/* SwiftUI */
Color(red: 0.729, green: 0.169, blue: 0.776)
/* Android */
Color.parseColor("#ba2bc6")
/* Flutter */
Color(0xFFBA2BC6)
/* Python / OpenCV (BGR) */
(198, 43, 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#ffffff on #ba2bc6 · 4.94:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.94:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.25:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ba2bc6 as text scores 4.94:1 on white and 4.25:1 on black.

Accessibility — WCAG contrast

Aa
#ba2bc6 on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#ba2bc6 on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065CA
deuteranopia · #4C76C2
tritanopia · #BE4979

Color scale — 50 to 950

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

#FBF4FB
#F6E8F7
#EECBF1
#E5A3EB
#D975E1
#CC47D7
#ba2bc6
#9E24A8
#7E1D86
#5C1961
#39103D
Base = 600Lightest = 50 · #FBF4FBDarkest = 950 · #39103D
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #EECBF1;
  --brand-300: #E5A3EB;
  --brand-400: #D975E1;
  --brand-500: #CC47D7;
  --brand-600: #ba2bc6;
  --brand-700: #9E24A8;
  --brand-800: #7E1D86;
  --brand-900: #5C1961;
  --brand-950: #39103D;
  --brand: #ba2bc6;
  --brand-ink: #ffffff;
}

Colors that work with #ba2bc6

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#4EAC20
Second voice, not a rival
Dark variant#621769
Hover, pressed, headers
Light variant#F9EAFA
Selected rows, tints
Dark surface#231424
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 #ba2bc6

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#37C62B
Analogous left#6D2BC6
Analogous right#C62B85
Split-complement 1#85C62B
Split-complement 2#2BC66D
Triadic 1#C6BA2B
Triadic 2#2BC6BA
Tetradic#C66D2B

RGB percentages

Red72.9%
Green16.9%
Blue77.6%

CMYK percentages

Cyan6.1%
Magenta78.3%
Yellow0.0%
Key (black)22.4%

Color previews

#ba2bc6 text on a black background

contrast 4.25:1

Card sample

#ba2bc6 text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2bc6

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.

#ba2bc6 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#ba2bc6, answered

What color is #ba2bc6?

#ba2bc6 is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 6.4). It sits at 295° on the hue wheel with 64% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #ba2bc6?

rgb(186, 43, 198) — 186 red, 43 green and 198 blue out of 255, or 72.9% / 16.9% / 77.6% by channel.

Is #ba2bc6 a light or a dark color?

It is a dark color. Relative luminance is 0.1624 and perceived brightness is 49%, so white text on it reaches 4.94:1.

Should I use black or white text on #ba2bc6?

White. It scores 4.94:1 against #ba2bc6, versus 4.25:1 for black — AA at any size.

What is the complementary color of #ba2bc6?

#37C62B sits directly opposite on the wheel. Softer options are the split-complements #85C62B and #2BC66D, which give the same contrast with far less vibration.

What colors go well with #ba2bc6?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #4EAC20 as an accent and #621769 for hover and pressed states. For a palette, the analogous pair #6D2BC6 and #C62B85 stays calm, while #37C62B is the loudest partner.

What is #ba2bc6 in CMYK for printing?

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

Is #ba2bc6 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C62B99; nudged cooler, #8229C9.

Work with #ba2bc6 in the Color Lab