#ba3bbc
a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid
Token name suggestion: True Peony
#ba3bbc is a balanced vivid magenta / pink, 299° on the wheel and 50/100 on the cool side. Put white text on it (4.73:1). As text it scores 4.73:1 on white — safe at any size. Nearest name is Medium Orchid, nearest Tailwind family is fuchsia.
At a glance
Every number on this page in one read: what #ba3bbc is made of, how bright it looks, and which way it leans.
Left edge is grey, right edge is full chroma; top is white, bottom is black. The dot is #ba3bbc.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Green carries most of what the eye calls brightness — that is why WCAG weights it 0.7152.
Every format
| HEX | #ba3bbc |
| HEX (8-digit) | #ba3bbcff |
| RGB | rgb(186, 59, 188) |
| RGBA | rgba(186, 59, 188, 1) |
| HSL | hsl(299, 52%, 48%) |
| HSV / HSB | hsv(299, 69%, 74%) |
| HWB | hwb(299 23% 26%) |
| CMYK | cmyk(1%, 69%, 0%, 26%) |
| LAB | lab(48.5 65.7 -42.3) |
| LCH | lch(48.5 78.1 327.2) |
| OKLCH | oklch(0.585 0.217 327.3) |
| XYZ (D65) | xyz(30.89, 17.20, 49.26) |
| Decimal | 12204988 |
| Display P3 | color(display-p3 0.729 0.231 0.737) |
| Web-safe | #CC33CC |
Copy-ready code
/* CSS */
color: #ba3bbc;
background-color: #ba3bbc;
/* CSS custom property */
--brand: #ba3bbc;
/* Tailwind (arbitrary) */
class="text-[#ba3bbc] bg-[#ba3bbc]"
/* SCSS */
$brand: #ba3bbc;
/* SwiftUI */
Color(red: 0.729, green: 0.231, blue: 0.737)
/* UIKit */
UIColor(red: 0.729, green: 0.231, blue: 0.737, alpha: 1)
/* Android XML */
<color name="brand">#BA3BBC</color>
/* Android Compose */
Color(0xFFBA3BBC)
/* Flutter */
Color(0xFFBA3BBC)
/* Python / OpenCV (BGR) */
(188, 59, 186)
/* Python / PIL (RGB) */
(186, 59, 188)
/* Java AWT */
new Color(186, 59, 188)
/* .NET */
Color.FromArgb(255, 186, 59, 188)
/* OpenGL / Unity (0–1) */
(0.7294f, 0.2314f, 0.7373f, 1f)
/* LaTeX */
\definecolor{brand}{RGB}{186,59,188}/* mix without leaving CSS */ background: color-mix(in oklab, #ba3bbc 85%, white); border-color: color-mix(in oklab, #ba3bbc 40%, transparent); /* theme-aware in one line */ color: light-dark(#601E61, #EED3EE); /* relative colour syntax */ --hover: hsl(from #ba3bbc h s calc(l - 7));
Design tokens
The same ramp in the four formats a team actually needs. Paste one and the whole palette lands with it.
:root {
--brand-50: #FAF4FA;
--brand-100: #F6E9F6;
--brand-200: #EDCFED;
--brand-300: #E3AAE4;
--brand-400: #D57FD7;
--brand-500: #C854C9;
--brand-600: #ba3bbc;
--brand-700: #9A319B;
--brand-800: #7B277C;
--brand-900: #5A205B;
--brand-950: #381439;
--brand: #ba3bbc;
--brand-ink: #ffffff;
--brand-surface: #FAF4FA;
--brand-border: #EBC1EB;
--brand-hover: #9F32A1;
--brand-pressed: #842A86;
}
@media (prefers-color-scheme: dark) {
:root {
--brand-surface: #241424;
--brand-ink: #EED3EE;
}
}theme: {
extend: {
colors: {
brand: {
50: '#FAF4FA',
100: '#F6E9F6',
200: '#EDCFED',
300: '#E3AAE4',
400: '#D57FD7',
500: '#C854C9',
600: '#ba3bbc',
700: '#9A319B',
800: '#7B277C',
900: '#5A205B',
950: '#381439',
DEFAULT: '#ba3bbc',
},
},
},
}$brand: (
'50': #FAF4FA,
'100': #F6E9F6,
'200': #EDCFED,
'300': #E3AAE4,
'400': #D57FD7,
'500': #C854C9,
'600': #ba3bbc,
'700': #9A319B,
'800': #7B277C,
'900': #5A205B,
'950': #381439,
);
$brand-base: #ba3bbc;
$brand-ink: #ffffff;
@function brand($step) { @return map-get($brand, $step); }{
"color": {
"brand": {
"50": { "$value": "#FAF4FA", "$type": "color" },
"100": { "$value": "#F6E9F6", "$type": "color" },
"200": { "$value": "#EDCFED", "$type": "color" },
"300": { "$value": "#E3AAE4", "$type": "color" },
"400": { "$value": "#D57FD7", "$type": "color" },
"500": { "$value": "#C854C9", "$type": "color" },
"600": { "$value": "#ba3bbc", "$type": "color" },
"700": { "$value": "#9A319B", "$type": "color" },
"800": { "$value": "#7B277C", "$type": "color" },
"900": { "$value": "#5A205B", "$type": "color" },
"950": { "$value": "#381439", "$type": "color" }
},
"brandInk": { "$value": "#ffffff", "$type": "color" }
}
}Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Make it accessible
A contrast checker tells you that you failed. This tells you what to ship instead — same hue, same saturation, lightness moved only as far as WCAG demands.
Large text — 24px regular or 18.66px bold and above — only needs 3:1, so #BA3BBC is enough for headings on white. Non-text elements such as icons, chart strokes and focus rings also sit at 3:1 under WCAG 2.2 (1.4.11).
Accessibility — WCAG contrast
Contrast is symmetric, so each row covers both directions: #ba3bbc as text on that neutral, and that neutral as text on #ba3bbc.
| Neutral | Ratio | Verdict | Both directions |
|---|---|---|---|
| White#ffffff | 4.73:1 | AAAA lgAAA | AaAa |
| Slate 50#f8fafc | 4.52:1 | AAAA lgAAA | AaAa |
| Slate 100#f1f5f9 | 4.32:1 | AAAA lgAAA | AaAa |
| Slate 200#e2e8f0 | 3.84:1 | AAAA lgAAA | AaAa |
| Slate 300#cbd5e1 | 3.19:1 | AAAA lgAAA | AaAa |
| Slate 400#94a3b8 | 1.84:1 | AAAA lgAAA | AaAa |
| Slate 500#64748b | 1.01:1 | AAAA lgAAA | AaAa |
| Slate 600#475569 | 1.60:1 | AAAA lgAAA | AaAa |
| Slate 700#334155 | 2.19:1 | AAAA lgAAA | AaAa |
| Slate 800#1e293b | 3.09:1 | AAAA lgAAA | AaAa |
| Slate 900#0f172a | 3.77:1 | AAAA lgAAA | AaAa |
| Black#000000 | 4.44:1 | AAAA lgAAA | AaAa |
Roughly one man in twelve has some form of colour vision deficiency. If any of the three panels above is hard to tell apart from a neighbouring colour in your palette, add a shape, an icon or a label so the meaning does not rest on hue alone.
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #ba3bbc 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.
The same eleven steps expressed in OKLCH, where equal lightness numbers actually look equally spaced. HSL ramps go muddy in the yellows and washed out in the blues; this one does not. Modern browsers render it natively — the hex ramp above is the fallback.
:root {
--brand-50: oklch(0.97 0.054 327.3);
--brand-100: oklch(0.94 0.087 327.3);
--brand-200: oklch(0.88 0.130 327.3);
--brand-300: oklch(0.80 0.169 327.3);
--brand-400: oklch(0.72 0.199 327.3);
--brand-500: oklch(0.64 0.217 327.3);
--brand-600: oklch(0.56 0.217 327.3);
--brand-700: oklch(0.48 0.204 327.3);
--brand-800: oklch(0.40 0.182 327.3);
--brand-900: oklch(0.32 0.152 327.3);
--brand-950: oklch(0.24 0.119 327.3);
}Colors that work with #ba3bbc
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
In real components
The same eight roles, wired into the interface patterns you will actually build with them. Every state below is a computed value, not a mock-up.
Focus ring uses the light variant so the field still reads as one shape.
The file stays available for seven days. Download it before it expires.
How to use #ba3bbc
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ✓Chart series and data categories
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Pairing with a same-lightness hue — edges vibrate
Meaning and mood
What a colour in this family tends to signal, and how this particular chroma and lightness change the reading.
Pink is the fastest way to signal that a product is not another enterprise dashboard. It carries beauty, fashion and culture brands.
This is a confident chroma: strong enough to lead a brand, restrained enough to live in an interface all day. The mid lightness keeps it versatile in both themes.
Strong gendered associations in some markets — test it with the audience you actually have.
- FormalityMedium
- EnergyMedium-high
- Weight52/100
- TemperatureNeutral
- ApproachabilityBalanced
Colour associations are cultural and vary by market. Treat these as a starting point for a conversation with your audience, not a finding about them.
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 | #3DBC3B | Directly opposite — maximum tension | |
| Analogous left | #793BBC | Neighbour, quieter | |
| Analogous right | #BC3B7D | Neighbour, quieter | |
| Split-complement 1 | #7DBC3B | Contrast without the clash | |
| Split-complement 2 | #3BBC79 | Contrast without the clash | |
| Triadic 1 | #BCBA3B | Even thirds — balanced and loud | |
| Triadic 2 | #3BBCBA | Even thirds — balanced and loud | |
| Tetradic | #BC793B | Fourth corner of the square scheme |
#ba3bbc sits at 299°. Every dot is a harmony position and links to its own page in the table alongside.
RGB percentages
CMYK percentages
Total ink coverage is 96%. Most commercial presses cap around 300% — above that, sheets stop drying properly.
Color previews
#ba3bbc text on a black background
contrast 4.44:1
#ba3bbc text on a white background
contrast 4.73:1
#ba3bbc on grey
4.32:1
#ba3bbc on its own surface
4.37:1
#ba3bbc on its dark surface
3.70:1
CSS3 live lab
The quick brown fox
color: #ba3bbc;
background-color: #ba3bbc;
Glowing headline
text-shadow: 2px 2px 8px #ba3bbc;
Soft neon halo
text-shadow: 0 0 14px rgba(186, 59, 188, 0.45);
box-shadow: 0 12px 32px -8px rgba(186, 59, 188, 0.45);
border: 3px solid #ba3bbc; background: linear-gradient(135deg, #ba3bbc, #BC3B68);
Gradient headline
background: linear-gradient(90deg, #ba3bbc, #BC3B48); -webkit-background-clip: text; color: transparent;
outline: 2px solid #ba3bbc; outline-offset: 3px;
Marked up text
text-decoration-color: #ba3bbc; caret-color: #ba3bbc;
border-left: 4px solid #ba3bbc;
background: #F9ECF9; box-shadow: inset 0 0 0 2px #ba3bbc;
background: conic-gradient(#ba3bbc 68%, #e2e8f0 0);
Transparency
What each alpha value actually composites to. The top row is #ba3bbc over white; the bottom row is the same alpha over a checkerboard, so you can see what survives on a photo or a video.
Bottom row of hexes is the flattened result over white — use those when a design tool refuses transparency, or when you need a solid fallback.
rgba(186, 59, 188, 0.5) rgb(186 59 188 / 50%) #ba3bbc80 hsl(299 52% 48% / 50%) color-mix(in srgb, #ba3bbc 50%, transparent)
| Alpha | 8-digit hex | Flat on white |
|---|---|---|
| 10% | #ba3bbc1a | #F8EBF8 |
| 20% | #ba3bbc33 | #F1D8F2 |
| 40% | #ba3bbc66 | #E3B1E4 |
| 60% | #ba3bbc99 | #D689D7 |
| 80% | #ba3bbccc | #C862C9 |
Gradients from #ba3bbc
Six recipes, each built from this hex and shown with the exact CSS that produced it.
background: linear-gradient(135deg, #CD65CF, #ba3bbc 45%, #601E61);
background: linear-gradient(120deg, #ba3bbc, #A53452);
background: linear-gradient(90deg, #ba3bbc, #3DBC3B);
background: radial-gradient(120% 120% at 20% 0%, #D57DD6 0%, #ba3bbc 45%, #601E61 100%);
background: linear-gradient(180deg, #FAF4FA, #ffffff);
background: radial-gradient(60% 60% at 15% 20%, #8A5ECC 0%, transparent 60%), radial-gradient(55% 55% at 85% 15%, #C74E82 0%, transparent 60%), radial-gradient(70% 70% at 50% 95%, #601E61 0%, transparent 65%), #ba3bbc;
Monochromatic scale
Palettes built from #ba3bbc
Shades — darker
Tints — lighter
Tones — desaturated
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.
Closest color with a full write-up: Amethyst (#9966cc) — ΔE2000 10.8 away, with its history, psychology and brand usage.
#ba3bbc in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
Holds up across typical panel gamma. Still worth checking on an uncalibrated laptop, where mid-tones shift most.
Too dim on dark surfaces at 4.44:1 — lift it to #BE3CC0 for body text, or reserve it for fills.
Explore nearby colors
Small, deliberate steps away from this hex — useful when you are hunting for the version of a colour that finally feels right.
#ba3bbc, answered
What color is #ba3bbc?
#ba3bbc is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.2). It sits at 299° on the hue wheel with 52% saturation and 48% lightness, which reads as neutral.
What is the RGB value of #ba3bbc?
rgb(186, 59, 188) — 186 red, 59 green and 188 blue out of 255, or 72.9% / 23.1% / 73.7% by channel.
What is #ba3bbc in HSL and HSV?
hsl(299, 52%, 48%) and hsv(299, 69%, 74%). HSL is what CSS takes; HSV is what your design tool's picker shows, which is why the saturation numbers rarely match.
Is #ba3bbc a light or a dark color?
It is a dark color. Relative luminance is 0.1720 and perceived brightness is 50%, so white text on it reaches 4.73:1.
Should I use black or white text on #ba3bbc?
White. It scores 4.73:1 against #ba3bbc, versus 4.44:1 for black — AA at any size.
Is #ba3bbc accessible on a white background?
#ba3bbc on white scores 4.73:1, which clears AA at every size but not AAA.
What is the complementary color of #ba3bbc?
#3DBC3B sits directly opposite on the wheel. Softer options are the split-complements #7DBC3B and #3BBC79, which give the same contrast with far less vibration.
What colors go well with #ba3bbc?
For interface work: #FAF4FA as the surface, #EBC1EB for borders, #9A4B9B for secondary text, #4B9F2D as an accent and #601E61 for hover and pressed states. For a palette, the analogous pair #793BBC and #BC3B7D stays calm, while #3DBC3B is the loudest partner.
What is #ba3bbc in CMYK for printing?
cmyk(1%, 69%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #ba3bbc warm or cool?
Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC3B8F; nudged cooler, #8B39BE.
Which Tailwind color is closest to #ba3bbc?
The fuchsia family — its 500 step is #d946ef, ΔE2000 9.7 away. That is a visible difference, so define #ba3bbc as a custom token rather than reaching for the built-in.
How do I use #ba3bbc in Tailwind CSS?
Inline it as an arbitrary value with bg-[#ba3bbc] or text-[#ba3bbc], or register the whole ramp under theme.extend.colors.brand so you get bg-brand-500 and friends. The generated 50–950 scale on this page is ready to paste into your config.
What is #ba3bbc with 50% opacity?
rgba(186, 59, 188, 0.5), or #ba3bbc80 in eight-digit hex. Over white that composites to #DD9DDE; over black, #5D1E5E.
Is #ba3bbc a web-safe color?
No. The nearest web-safe colour is #CC33CC, ΔE2000 3.6 away. The palette only matters for legacy displays and some email clients now.
What does the color #ba3bbc mean?
As a magenta / pink, it reads expressive, youthful, warm. Pink is the fastest way to signal that a product is not another enterprise dashboard. It carries beauty, fashion and culture brands. At this chroma the effect is amplified — it will dominate whatever sits beside it.
What gradient works with #ba3bbc?
The safest is same-hue elevation: linear-gradient(135deg, #CD65CF, #ba3bbc 45%, #601E61). For more colour, a short hue run to #A53452 keeps it rich without turning muddy.
Work with #ba3bbc in the Color Lab
Every tool opens with this colour already loaded.
Every value on this page is computed from #ba3bbc at request time — conversions, contrast ratios and ΔE distances are calculated, never looked up.