Skip to content

#b235ba

a balanced, vivid magenta / pink · neutral · closest name: Dark Orchid

RGB
178, 53, 186
HSL
296°, 56%, 47%
CMYK
4, 72, 0, 27
Luminance
0.1556

At a glance

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

Hex
#b235ba
Hue
296°
magenta / pink
Saturation
56%
vivid
Lightness
47%
balanced
Brightness
73%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1556
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.11:1
Closest name
Dark Orchid
ΔE2000 6.4
Where it sits
Hue296° of 360°
Saturation56%
Lightness47%
Temperature
Warm ← → Cool52% 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#b235ba
RGBrgb(178, 53, 186)
HSLhsl(296, 56%, 47%)
CMYKcmyk(4%, 72%, 0%, 27%)
LABlab(46.4 65.7 -44.6)
LCHlch(46.4 79.4 325.8)
OKLCHoklch(0.566 0.218 325.4)
Decimal11679162
Display P3color(display-p3 0.698 0.208 0.729)

Copy-ready code

/* CSS */
color: #b235ba;
background-color: #b235ba;
/* Tailwind (arbitrary) */
class="text-[#b235ba] bg-[#b235ba]"
/* SCSS */
$brand: #b235ba;
/* SwiftUI */
Color(red: 0.698, green: 0.208, blue: 0.729)
/* Android */
Color.parseColor("#b235ba")
/* Flutter */
Color(0xFFB235BA)
/* Python / OpenCV (BGR) */
(186, 53, 178)

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 #b235ba · 5.11:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.11:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.11:1
AA fail · AA large pass · AAA fail
Reading the other direction: #b235ba as text scores 5.11:1 on white and 4.11:1 on black.

Accessibility — WCAG contrast

Aa
#b235ba on white: 5.11:1
AA ✓ pass · AA-large · AAA
Aa
#b235ba on black: 4.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0F64BE
deuteranopia · #5173B7
tritanopia · #B64B74

Color scale — 50 to 950

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

#FAF4FB
#F6E9F6
#ECCEEE
#E2A8E6
#D47CDA
#C650CD
#b235ba
#982D9F
#7A247F
#591E5D
#37133A
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #37133A
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F6;
  --brand-200: #ECCEEE;
  --brand-300: #E2A8E6;
  --brand-400: #D47CDA;
  --brand-500: #C650CD;
  --brand-600: #b235ba;
  --brand-700: #982D9F;
  --brand-800: #7A247F;
  --brand-900: #591E5D;
  --brand-950: #37133A;
  --brand: #b235ba;
  --brand-ink: #ffffff;
}

Colors that work with #b235ba

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#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#4FA329
Second voice, not a rival
Dark variant#5F1C63
Hover, pressed, headers
Light variant#F8EBF9
Selected rows, tints
Dark surface#231424
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 #b235ba

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#3DBA35
Analogous left#7035BA
Analogous right#BA3580
Split-complement 1#80BA35
Split-complement 2#35BA70
Triadic 1#BAB235
Triadic 2#35BAB2
Tetradic#BA7035

RGB percentages

Red69.8%
Green20.8%
Blue72.9%

CMYK percentages

Cyan4.3%
Magenta71.5%
Yellow0.0%
Key (black)27.1%

Color previews

#b235ba text on a black background

contrast 4.11:1

Card sample

#b235ba text on a white background

contrast 5.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b235ba

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.

#b235ba in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#b235ba, answered

What color is #b235ba?

#b235ba is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 6.4). It sits at 296° on the hue wheel with 56% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #b235ba?

rgb(178, 53, 186) — 178 red, 53 green and 186 blue out of 255, or 69.8% / 20.8% / 72.9% by channel.

Is #b235ba a light or a dark color?

It is a dark color. Relative luminance is 0.1556 and perceived brightness is 48%, so white text on it reaches 5.11:1.

Should I use black or white text on #b235ba?

White. It scores 5.11:1 against #b235ba, versus 4.11:1 for black — AA at any size.

What is the complementary color of #b235ba?

#3DBA35 sits directly opposite on the wheel. Softer options are the split-complements #80BA35 and #35BA70, which give the same contrast with far less vibration.

What colors go well with #b235ba?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #4FA329 as an accent and #5F1C63 for hover and pressed states. For a palette, the analogous pair #7035BA and #BA3580 stays calm, while #3DBA35 is the loudest partner.

What is #b235ba in CMYK for printing?

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

Is #b235ba warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA3591; nudged cooler, #8233BC.

Work with #b235ba in the Color Lab