Skip to content

#ba72dc

a light, vivid violet · cool · closest name: Orchid

RGB
186, 114, 220
HSL
281°, 60%, 66%
CMYK
16, 48, 0, 14
Luminance
0.2764

At a glance

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

Hex
#ba72dc
Hue
281°
violet
Saturation
60%
vivid
Lightness
66%
light
Brightness
86%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2764
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.53:1
Closest name
Orchid
ΔE2000 6.7
Where it sits
Hue281° of 360°
Saturation60%
Lightness66%
Temperature
Warm ← → Cool61% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ba72dc
RGBrgb(186, 114, 220)
HSLhsl(281, 60%, 66%)
CMYKcmyk(16%, 48%, 0%, 14%)
LABlab(59.6 46.4 -43.1)
LCHlch(59.6 63.4 317.1)
OKLCHoklch(0.671 0.167 314.0)
Decimal12219100
Display P3color(display-p3 0.729 0.447 0.863)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba72dc on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#ba72dc on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B8BE0
deuteranopia · #7091D9
tritanopia · #B7829D

Color scale — 50 to 950

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

#F9F4FB
#F2E9F7
#E4CCEF
#D3A5E9
#ba72dc
#A74BD2
#9531C4
#7C29A3
#632083
#491B5F
#2E113B
Base = 400Lightest = 50 · #F9F4FBDarkest = 950 · #2E113B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F2E9F7;
  --brand-200: #E4CCEF;
  --brand-300: #D3A5E9;
  --brand-400: #ba72dc;
  --brand-500: #A74BD2;
  --brand-600: #9531C4;
  --brand-700: #7C29A3;
  --brand-800: #632083;
  --brand-900: #491B5F;
  --brand-950: #2E113B;
  --brand: #ba72dc;
  --brand-ink: #000000;
}

Colors that work with #ba72dc

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#F8F4FA
Tinted page background
Border#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#6FA824
Second voice, not a rival
Dark variant#4E1966
Hover, pressed, headers
Light variant#F5EBFA
Selected rows, tints
Dark surface#1F1424
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 #ba72dc

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#94DC72
Analogous left#8572DC
Analogous right#DC72C9
Split-complement 1#C9DC72
Split-complement 2#72DC85
Triadic 1#DCBA72
Triadic 2#72DCBA
Tetradic#DC8572

RGB percentages

Red72.9%
Green44.7%
Blue86.3%

CMYK percentages

Cyan15.5%
Magenta48.2%
Yellow0.0%
Key (black)13.7%

Color previews

#ba72dc text on a black background

contrast 6.53:1

Card sample

#ba72dc text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba72dc

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.

#ba72dc 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ba72dc, answered

What color is #ba72dc?

#ba72dc is a light vivid violet, closest to Orchid (ΔE2000 6.7). It sits at 281° on the hue wheel with 60% saturation and 66% lightness, which reads as cool.

What is the RGB value of #ba72dc?

rgb(186, 114, 220) — 186 red, 114 green and 220 blue out of 255, or 72.9% / 44.7% / 86.3% by channel.

Is #ba72dc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2764 and perceived brightness is 60%, so black text on it reaches 6.53:1.

Should I use black or white text on #ba72dc?

Black. It scores 6.53:1 against #ba72dc, versus 3.22:1 for white — AA at any size.

What is the complementary color of #ba72dc?

#94DC72 sits directly opposite on the wheel. Softer options are the split-complements #C9DC72 and #72DC85, which give the same contrast with far less vibration.

What colors go well with #ba72dc?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #6FA824 as an accent and #4E1966 for hover and pressed states. For a palette, the analogous pair #8572DC and #DC72C9 stays calm, while #94DC72 is the loudest partner.

What is #ba72dc in CMYK for printing?

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

Is #ba72dc warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DC72D7; nudged cooler, #9370DE.

Work with #ba72dc in the Color Lab