Skip to content

#ba2ade

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

RGB
186, 42, 222
HSL
288°, 73%, 52%
CMYK
16, 81, 0, 13
Luminance
0.1737

At a glance

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

Hex
#ba2ade
Hue
288°
violet
Saturation
73%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1737
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.69:1
Closest name
Dark Orchid
ΔE2000 6.1
Where it sits
Hue288° of 360°
Saturation73%
Lightness52%
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#ba2ade
RGBrgb(186, 42, 222)
HSLhsl(288, 73%, 52%)
CMYKcmyk(16%, 81%, 0%, 13%)
LABlab(48.7 76.9 -61.5)
LCHlch(48.7 98.5 321.3)
OKLCHoklch(0.593 0.260 318.2)
Decimal12200670
Display P3color(display-p3 0.729 0.165 0.871)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba2ade on white: 4.69:1
AA ✓ pass · AA-large · AAA
Aa
#ba2ade on black: 4.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006BE3
deuteranopia · #3478DA
tritanopia · #B95586

Color scale — 50 to 950

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

#FAF3FC
#F5E7F8
#EBC8F3
#E09EF0
#D06DE8
#C03DE1
#ba2ade
#931BB1
#75168D
#561466
#360C40
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #360C40
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #EBC8F3;
  --brand-300: #E09EF0;
  --brand-400: #D06DE8;
  --brand-500: #C03DE1;
  --brand-600: #ba2ade;
  --brand-700: #931BB1;
  --brand-800: #75168D;
  --brand-900: #561466;
  --brand-950: #360C40;
  --brand: #ba2ade;
  --brand-ink: #ffffff;
}

Colors that work with #ba2ade

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5FB517
Second voice, not a rival
Dark variant#5C116E
Hover, pressed, headers
Light variant#F8E9FC
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 #ba2ade

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#4EDE2A
Analogous left#602ADE
Analogous right#DE2AA8
Split-complement 1#A8DE2A
Split-complement 2#2ADE60
Triadic 1#DEBA2A
Triadic 2#2ADEBA
Tetradic#DE602A

RGB percentages

Red72.9%
Green16.5%
Blue87.1%

CMYK percentages

Cyan16.2%
Magenta81.1%
Yellow0.0%
Key (black)12.9%

Color previews

#ba2ade text on a black background

contrast 4.47:1

Card sample

#ba2ade text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba2ade

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.

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

#ba2ade, answered

What color is #ba2ade?

#ba2ade is a balanced vivid violet, closest to Dark Orchid (ΔE2000 6.1). It sits at 288° on the hue wheel with 73% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #ba2ade?

rgb(186, 42, 222) — 186 red, 42 green and 222 blue out of 255, or 72.9% / 16.5% / 87.1% by channel.

Is #ba2ade a light or a dark color?

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

Should I use black or white text on #ba2ade?

White. It scores 4.69:1 against #ba2ade, versus 4.47:1 for black — AA at any size.

What is the complementary color of #ba2ade?

#4EDE2A sits directly opposite on the wheel. Softer options are the split-complements #A8DE2A and #2ADE60, which give the same contrast with far less vibration.

What colors go well with #ba2ade?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5FB517 as an accent and #5C116E for hover and pressed states. For a palette, the analogous pair #602ADE and #DE2AA8 stays calm, while #4EDE2A is the loudest partner.

What is #ba2ade in CMYK for printing?

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

Is #ba2ade 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 #DE2AC0; nudged cooler, #7828E1.

Work with #ba2ade in the Color Lab