Skip to content

#b239af

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

RGB
178, 57, 175
HSL
302°, 52%, 46%
CMYK
0, 68, 2, 30
Luminance
0.1549

At a glance

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

Hex
#b239af
Hue
302°
magenta / pink
Saturation
52%
vivid
Lightness
46%
balanced
Brightness
70%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1549
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.13:1
Closest name
Dark Orchid
ΔE2000 8.1
Where it sits
Hue302° of 360°
Saturation52%
Lightness46%
Temperature
Warm ← → Cool49% 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#b239af
RGBrgb(178, 57, 175)
HSLhsl(302, 52%, 46%)
CMYKcmyk(0%, 68%, 2%, 30%)
LABlab(46.3 62.4 -38.3)
LCHlch(46.3 73.2 328.5)
OKLCHoklch(0.564 0.205 328.9)
Decimal11680175
Display P3color(display-p3 0.698 0.224 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b239af on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#b239af on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A63B2
deuteranopia · #5973AC
tritanopia · #B84970

Color scale — 50 to 950

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

#FAF4FA
#F6EAF6
#EDCFEC
#E4AAE2
#D680D4
#C955C6
#b239af
#9B3198
#7C287A
#5A2059
#381437
Base = 600Lightest = 50 · #FAF4FADarkest = 950 · #381437
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F6EAF6;
  --brand-200: #EDCFEC;
  --brand-300: #E4AAE2;
  --brand-400: #D680D4;
  --brand-500: #C955C6;
  --brand-600: #b239af;
  --brand-700: #9B3198;
  --brand-800: #7C287A;
  --brand-900: #5A2059;
  --brand-950: #381437;
  --brand: #b239af;
  --brand-ink: #ffffff;
}

Colors that work with #b239af

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#EBC1EA
Hairlines and dividers
Muted text#9B4B99
Captions on the surface
Accent#479F2D
Second voice, not a rival
Dark variant#611F5F
Hover, pressed, headers
Light variant#F9ECF8
Selected rows, tints
Dark surface#241424
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 #b239af

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#39B23C
Analogous left#7939B2
Analogous right#B23973
Split-complement 1#73B239
Split-complement 2#39B279
Triadic 1#AFB239
Triadic 2#39AFB2
Tetradic#B27939

RGB percentages

Red69.8%
Green22.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta68.0%
Yellow1.7%
Key (black)30.2%

Color previews

#b239af text on a black background

contrast 4.10:1

Card sample

#b239af text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b239af

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.

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

#b239af, answered

What color is #b239af?

#b239af is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 8.1). It sits at 302° on the hue wheel with 52% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #b239af?

rgb(178, 57, 175) — 178 red, 57 green and 175 blue out of 255, or 69.8% / 22.4% / 68.6% by channel.

Is #b239af a light or a dark color?

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

Should I use black or white text on #b239af?

White. It scores 5.13:1 against #b239af, versus 4.10:1 for black — AA at any size.

What is the complementary color of #b239af?

#39B23C sits directly opposite on the wheel. Softer options are the split-complements #73B239 and #39B279, which give the same contrast with far less vibration.

What colors go well with #b239af?

For interface work: #FAF4FA as the surface, #EBC1EA for borders, #9B4B99 for secondary text, #479F2D as an accent and #611F5F for hover and pressed states. For a palette, the analogous pair #7939B2 and #B23973 stays calm, while #39B23C is the loudest partner.

What is #b239af in CMYK for printing?

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

Is #b239af warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B23983; nudged cooler, #8937B4.

Work with #b239af in the Color Lab