Skip to content

#ba44f5

a balanced, electric violet · cool · closest name: Medium Orchid

RGB
186, 68, 245
HSL
280°, 90%, 61%
CMYK
24, 72, 0, 4
Luminance
0.2117

At a glance

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

Hex
#ba44f5
Hue
280°
violet
Saturation
90%
electric
Lightness
61%
balanced
Brightness
96%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2117
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.23:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue280° of 360°
Saturation90%
Lightness61%
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#ba44f5
RGBrgb(186, 68, 245)
HSLhsl(280, 90%, 61%)
CMYKcmyk(24%, 72%, 0%, 4%)
LABlab(53.1 72.9 -67.4)
LCHlch(53.1 99.3 317.3)
OKLCHoklch(0.628 0.255 311.7)
Decimal12207349
Display P3color(display-p3 0.729 0.267 0.961)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ba44f5 on white: 4.01:1
AA ✗ fail · AA-large · AAA
Aa
#ba44f5 on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0079FA
deuteranopia · #2981F1
tritanopia · #B36C99

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ba44f5 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F2FD
#F3E5FB
#E7C3F8
#D895F9
#C45FF6
#ba44f5
#9F0CE8
#850AC2
#6A089B
#4E0B70
#310746
Base = 500Lightest = 50 · #F9F2FDDarkest = 950 · #310746
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F3E5FB;
  --brand-200: #E7C3F8;
  --brand-300: #D895F9;
  --brand-400: #C45FF6;
  --brand-500: #ba44f5;
  --brand-600: #9F0CE8;
  --brand-700: #850AC2;
  --brand-800: #6A089B;
  --brand-900: #4E0B70;
  --brand-950: #310746;
  --brand: #ba44f5;
  --brand-ink: #000000;
}

Colors that work with #ba44f5

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#804B9B
Captions on the surface
Accent#76C606
Second voice, not a rival
Dark variant#530779
Hover, pressed, headers
Light variant#F6E7FE
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 #ba44f5

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#7FF544
Analogous left#6244F5
Analogous right#F544D7
Split-complement 1#D7F544
Split-complement 2#44F562
Triadic 1#F5BA44
Triadic 2#44F5BA
Tetradic#F56244

RGB percentages

Red72.9%
Green26.7%
Blue96.1%

CMYK percentages

Cyan24.1%
Magenta72.2%
Yellow0.0%
Key (black)3.9%

Color previews

#ba44f5 text on a black background

contrast 5.23:1

Card sample

#ba44f5 text on a white background

contrast 4.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ba44f5

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.

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

#ba44f5, answered

What color is #ba44f5?

#ba44f5 is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.6). It sits at 280° on the hue wheel with 90% saturation and 61% lightness, which reads as cool.

What is the RGB value of #ba44f5?

rgb(186, 68, 245) — 186 red, 68 green and 245 blue out of 255, or 72.9% / 26.7% / 96.1% by channel.

Is #ba44f5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2117 and perceived brightness is 55%, so black text on it reaches 5.23:1.

Should I use black or white text on #ba44f5?

Black. It scores 5.23:1 against #ba44f5, versus 4.01:1 for white — AA at any size.

What is the complementary color of #ba44f5?

#7FF544 sits directly opposite on the wheel. Softer options are the split-complements #D7F544 and #44F562, which give the same contrast with far less vibration.

What colors go well with #ba44f5?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #804B9B for secondary text, #76C606 as an accent and #530779 for hover and pressed states. For a palette, the analogous pair #6244F5 and #F544D7 stays calm, while #7FF544 is the loudest partner.

What is #ba44f5 in CMYK for printing?

cmyk(24%, 72%, 0%, 4%). 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 #ba44f5 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 #F544EF; nudged cooler, #7842F7.

Work with #ba44f5 in the Color Lab