Skip to content

#ba35ce

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

RGB
186, 53, 206
HSL
292°, 61%, 51%
CMYK
10, 74, 0, 19
Luminance
0.1744

At a glance

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

Hex
#ba35ce
Hue
292°
magenta / pink
Saturation
61%
vivid
Lightness
51%
balanced
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1744
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.68:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue292° of 360°
Saturation61%
Lightness51%
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#ba35ce
RGBrgb(186, 53, 206)
HSLhsl(292, 61%, 51%)
CMYKcmyk(10%, 74%, 0%, 19%)
LABlab(48.8 70.8 -52.2)
LCHlch(48.8 88.0 323.6)
OKLCHoklch(0.590 0.238 322.1)
Decimal12203470
Display P3color(display-p3 0.729 0.208 0.808)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba35ce on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#ba35ce on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AD2
deuteranopia · #4B79CA
tritanopia · #BC5380

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba35ce 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
#E0A5E9
#D178DE
#C14AD3
#ba35ce
#9428A4
#762083
#571B60
#36113C
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #36113C
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E8F7;
  --brand-200: #EBCCF0;
  --brand-300: #E0A5E9;
  --brand-400: #D178DE;
  --brand-500: #C14AD3;
  --brand-600: #ba35ce;
  --brand-700: #9428A4;
  --brand-800: #762083;
  --brand-900: #571B60;
  --brand-950: #36113C;
  --brand: #ba35ce;
  --brand-ink: #ffffff;
}

Colors that work with #ba35ce

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#904B9B
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 #ba35ce

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#49CE35
Analogous left#6E35CE
Analogous right#CE3595
Split-complement 1#95CE35
Split-complement 2#35CE6E
Triadic 1#CEBA35
Triadic 2#35CEBA
Tetradic#CE6E35

RGB percentages

Red72.9%
Green20.8%
Blue80.8%

CMYK percentages

Cyan9.7%
Magenta74.3%
Yellow0.0%
Key (black)19.2%

Color previews

#ba35ce text on a black background

contrast 4.49:1

Card sample

#ba35ce text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba35ce

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.

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

#ba35ce, answered

What color is #ba35ce?

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

What is the RGB value of #ba35ce?

rgb(186, 53, 206) — 186 red, 53 green and 206 blue out of 255, or 72.9% / 20.8% / 80.8% by channel.

Is #ba35ce a light or a dark color?

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

Should I use black or white text on #ba35ce?

White. It scores 4.68:1 against #ba35ce, versus 4.49:1 for black — AA at any size.

What is the complementary color of #ba35ce?

#49CE35 sits directly opposite on the wheel. Softer options are the split-complements #95CE35 and #35CE6E, which give the same contrast with far less vibration.

What colors go well with #ba35ce?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #56A824 as an accent and #5D1967 for hover and pressed states. For a palette, the analogous pair #6E35CE and #CE3595 stays calm, while #49CE35 is the loudest partner.

What is #ba35ce in CMYK for printing?

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

Is #ba35ce 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 #CE35AA; nudged cooler, #8233D1.

Work with #ba35ce in the Color Lab