Skip to content

#ba6dce

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

RGB
186, 109, 206
HSL
288°, 50%, 62%
CMYK
10, 47, 0, 19
Luminance
0.2583

At a glance

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

Hex
#ba6dce
Hue
288°
violet
Saturation
50%
vivid
Lightness
62%
balanced
Brightness
81%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2583
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.17:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue288° of 360°
Saturation50%
Lightness62%
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#ba6dce
RGBrgb(186, 109, 206)
HSLhsl(288, 50%, 62%)
CMYKcmyk(10%, 47%, 0%, 19%)
LABlab(57.9 46.2 -37.9)
LCHlch(57.9 59.7 320.6)
OKLCHoklch(0.656 0.160 319.1)
Decimal12217806
Display P3color(display-p3 0.729 0.427 0.808)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba6dce on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#ba6dce on black: 6.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D86D1
deuteranopia · #738ECB
tritanopia · #BB7A94

Color scale — 50 to 950

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

#F9F4FA
#F3EAF6
#E6CFEC
#D7ABE3
#ba6dce
#B057C7
#9E3EB7
#843399
#69297A
#4E2159
#311538
Base = 400Lightest = 50 · #F9F4FADarkest = 950 · #311538
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F3EAF6;
  --brand-200: #E6CFEC;
  --brand-300: #D7ABE3;
  --brand-400: #ba6dce;
  --brand-500: #B057C7;
  --brand-600: #9E3EB7;
  --brand-700: #843399;
  --brand-800: #69297A;
  --brand-900: #4E2159;
  --brand-950: #311538;
  --brand: #ba6dce;
  --brand-ink: #000000;
}

Colors that work with #ba6dce

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#E2C2EA
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#619D2F
Second voice, not a rival
Dark variant#52205F
Hover, pressed, headers
Light variant#F6ECF9
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 #ba6dce

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#81CE6D
Analogous left#8A6DCE
Analogous right#CE6DB2
Split-complement 1#B2CE6D
Split-complement 2#6DCE8A
Triadic 1#CEBA6D
Triadic 2#6DCEBA
Tetradic#CE8A6D

RGB percentages

Red72.9%
Green42.7%
Blue80.8%

CMYK percentages

Cyan9.7%
Magenta47.1%
Yellow0.0%
Key (black)19.2%

Color previews

#ba6dce text on a black background

contrast 6.17:1

Card sample

#ba6dce text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba6dce

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.

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

#ba6dce, answered

What color is #ba6dce?

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

What is the RGB value of #ba6dce?

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

Is #ba6dce a light or a dark color?

It is a mid-tone. Relative luminance is 0.2583 and perceived brightness is 58%, so black text on it reaches 6.17:1.

Should I use black or white text on #ba6dce?

Black. It scores 6.17:1 against #ba6dce, versus 3.41:1 for white — AA at any size.

What is the complementary color of #ba6dce?

#81CE6D sits directly opposite on the wheel. Softer options are the split-complements #B2CE6D and #6DCE8A, which give the same contrast with far less vibration.

What colors go well with #ba6dce?

For interface work: #F9F4FA as the surface, #E2C2EA for borders, #8A4B9B for secondary text, #619D2F as an accent and #52205F for hover and pressed states. For a palette, the analogous pair #8A6DCE and #CE6DB2 stays calm, while #81CE6D is the loudest partner.

What is #ba6dce in CMYK for printing?

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

Is #ba6dce 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 #CE6DBF; nudged cooler, #966BD0.

Work with #ba6dce in the Color Lab