Skip to content

#ba0ce0

a balanced, electric violet · neutral · closest name: Dark Orchid

RGB
186, 12, 224
HSL
289°, 90%, 46%
CMYK
17, 95, 0, 12
Luminance
0.1608

At a glance

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

Hex
#ba0ce0
Hue
289°
violet
Saturation
90%
electric
Lightness
46%
balanced
Brightness
88%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1608
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.98:1
Closest name
Dark Orchid
ΔE2000 5.5
Where it sits
Hue289° of 360°
Saturation90%
Lightness46%
Temperature
Warm ← → Cool56% 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#ba0ce0
RGBrgb(186, 12, 224)
HSLhsl(289, 90%, 46%)
CMYKcmyk(17%, 95%, 0%, 12%)
LABlab(47.1 82.4 -65.3)
LCHlch(47.1 105.2 321.6)
OKLCHoklch(0.582 0.277 318.3)
Decimal12192992
Display P3color(display-p3 0.729 0.047 0.878)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba0ce0 on white: 4.98:1
AA ✓ pass · AA-large · AAA
Aa
#ba0ce0 on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066E5
deuteranopia · #1F74DC
tritanopia · #B94D84

Color scale — 50 to 950

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

#FBF2FD
#F7E5FB
#EFC3F8
#E795F9
#DB5FF6
#CF2AF4
#ba0ce0
#A10AC2
#80089B
#5E0B70
#3A0746
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #3A0746
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E5FB;
  --brand-200: #EFC3F8;
  --brand-300: #E795F9;
  --brand-400: #DB5FF6;
  --brand-500: #CF2AF4;
  --brand-600: #ba0ce0;
  --brand-700: #A10AC2;
  --brand-800: #80089B;
  --brand-900: #5E0B70;
  --brand-950: #3A0746;
  --brand: #ba0ce0;
  --brand-ink: #ffffff;
}

Colors that work with #ba0ce0

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#F9F4FA
Tinted page background
Border#E5C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#59C606
Second voice, not a rival
Dark variant#640779
Hover, pressed, headers
Light variant#FAE7FE
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 #ba0ce0

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#32E00C
Analogous left#500CE0
Analogous right#E00C9C
Split-complement 1#9CE00C
Split-complement 2#0CE050
Triadic 1#E0BA0C
Triadic 2#0CE0BA
Tetradic#E0500C

RGB percentages

Red72.9%
Green4.7%
Blue87.8%

CMYK percentages

Cyan17.0%
Magenta94.6%
Yellow0.0%
Key (black)12.2%

Color previews

#ba0ce0 text on a black background

contrast 4.22:1

Card sample

#ba0ce0 text on a white background

contrast 4.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba0ce0

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.

#ba0ce0 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ba0ce0, answered

What color is #ba0ce0?

#ba0ce0 is a balanced electric violet, closest to Dark Orchid (ΔE2000 5.5). It sits at 289° on the hue wheel with 90% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #ba0ce0?

rgb(186, 12, 224) — 186 red, 12 green and 224 blue out of 255, or 72.9% / 4.7% / 87.8% by channel.

Is #ba0ce0 a light or a dark color?

It is a dark color. Relative luminance is 0.1608 and perceived brightness is 50%, so white text on it reaches 4.98:1.

Should I use black or white text on #ba0ce0?

White. It scores 4.98:1 against #ba0ce0, versus 4.22:1 for black — AA at any size.

What is the complementary color of #ba0ce0?

#32E00C sits directly opposite on the wheel. Softer options are the split-complements #9CE00C and #0CE050, which give the same contrast with far less vibration.

What colors go well with #ba0ce0?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8C4B9B for secondary text, #59C606 as an accent and #640779 for hover and pressed states. For a palette, the analogous pair #500CE0 and #E00C9C stays calm, while #32E00C is the loudest partner.

What is #ba0ce0 in CMYK for printing?

cmyk(17%, 95%, 0%, 12%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ba0ce0 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E00CB9; nudged cooler, #6C0AE2.

Work with #ba0ce0 in the Color Lab