Skip to content

#ba32cd

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

RGB
186, 50, 205
HSL
293°, 61%, 50%
CMYK
9, 76, 0, 20
Luminance
0.1713

At a glance

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

Hex
#ba32cd
Hue
293°
magenta / pink
Saturation
61%
vivid
Lightness
50%
balanced
Brightness
80%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1713
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.75:1
Closest name
Medium Orchid
ΔE2000 6.1
Where it sits
Hue293° of 360°
Saturation61%
Lightness50%
Temperature
Warm ← → Cool54% 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#ba32cd
RGBrgb(186, 50, 205)
HSLhsl(293, 61%, 50%)
CMYKcmyk(9%, 76%, 0%, 20%)
LABlab(48.4 71.6 -52.3)
LCHlch(48.4 88.7 323.9)
OKLCHoklch(0.587 0.240 322.4)
Decimal12202701
Display P3color(display-p3 0.729 0.196 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba32cd on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#ba32cd on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0069D1
deuteranopia · #4A78C9
tritanopia · #BC517E

Color scale — 50 to 950

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

#FAF4FB
#F5E8F7
#EBCCF0
#E1A5E9
#D178DE
#C24BD3
#ba32cd
#9528A4
#772083
#571B5F
#36113C
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #36113C
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E8F7;
  --brand-200: #EBCCF0;
  --brand-300: #E1A5E9;
  --brand-400: #D178DE;
  --brand-500: #C24BD3;
  --brand-600: #ba32cd;
  --brand-700: #9528A4;
  --brand-800: #772083;
  --brand-900: #571B5F;
  --brand-950: #36113C;
  --brand: #ba32cd;
  --brand-ink: #ffffff;
}

Colors that work with #ba32cd

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#56A824
Second voice, not a rival
Dark variant#5D1967
Hover, pressed, headers
Light variant#F8EAFA
Selected rows, tints
Dark surface#221424
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 #ba32cd

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#45CD32
Analogous left#6C32CD
Analogous right#CD3293
Split-complement 1#93CD32
Split-complement 2#32CD6C
Triadic 1#CDBA32
Triadic 2#32CDBA
Tetradic#CD6C32

RGB percentages

Red72.9%
Green19.6%
Blue80.4%

CMYK percentages

Cyan9.3%
Magenta75.6%
Yellow0.0%
Key (black)19.6%

Color previews

#ba32cd text on a black background

contrast 4.43:1

Card sample

#ba32cd text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba32cd

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.

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

#ba32cd, answered

What color is #ba32cd?

#ba32cd is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.1). It sits at 293° on the hue wheel with 61% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #ba32cd?

rgb(186, 50, 205) — 186 red, 50 green and 205 blue out of 255, or 72.9% / 19.6% / 80.4% by channel.

Is #ba32cd a light or a dark color?

It is a dark color. Relative luminance is 0.1713 and perceived brightness is 51%, so white text on it reaches 4.75:1.

Should I use black or white text on #ba32cd?

White. It scores 4.75:1 against #ba32cd, versus 4.43:1 for black — AA at any size.

What is the complementary color of #ba32cd?

#45CD32 sits directly opposite on the wheel. Softer options are the split-complements #93CD32 and #32CD6C, which give the same contrast with far less vibration.

What colors go well with #ba32cd?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #56A824 as an accent and #5D1967 for hover and pressed states. For a palette, the analogous pair #6C32CD and #CD3293 stays calm, while #45CD32 is the loudest partner.

What is #ba32cd in CMYK for printing?

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

Is #ba32cd warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD32A7; nudged cooler, #812FD0.

Work with #ba32cd in the Color Lab