Skip to content

#b397b7

a light, soft magenta / pink · neutral · closest name: Plum

RGB
179, 151, 183
HSL
293°, 18%, 66%
CMYK
2, 18, 0, 28
Luminance
0.3514

At a glance

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

Hex
#b397b7
Hue
293°
magenta / pink
Saturation
18%
soft
Lightness
66%
light
Brightness
72%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3514
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.03:1
Closest name
Plum
ΔE2000 10.1
Where it sits
Hue293° of 360°
Saturation18%
Lightness66%
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#b397b7
RGBrgb(179, 151, 183)
HSLhsl(293, 18%, 66%)
CMYKcmyk(2%, 18%, 0%, 28%)
LABlab(65.8 16.2 -12.7)
LCHlch(65.8 20.6 321.8)
OKLCHoklch(0.712 0.056 322.1)
Decimal11769783
Display P3color(display-p3 0.702 0.592 0.718)

Copy-ready code

/* CSS */
color: #b397b7;
background-color: #b397b7;
/* Tailwind (arbitrary) */
class="text-[#b397b7] bg-[#b397b7]"
/* SCSS */
$brand: #b397b7;
/* SwiftUI */
Color(red: 0.702, green: 0.592, blue: 0.718)
/* Android */
Color.parseColor("#b397b7")
/* Flutter */
Color(0xFFB397B7)
/* Python / OpenCV (BGR) */
(183, 151, 179)

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 #b397b7 · 8.03:1
Use #000000AAA at every size.
Aa
White text · 2.62:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.03:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b397b7 as text scores 2.62:1 on white and 8.03:1 on black.

Accessibility — WCAG contrast

Aa
#b397b7 on white: 2.62:1
AA ✗ fail · AA-large · AAA
Aa
#b397b7 on black: 8.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #949EB8
deuteranopia · #9AA1B6
tritanopia · #B49AA2

Color scale — 50 to 950

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

#F8F6F8
#F1EEF2
#E2D9E3
#CFBDD1
#b397b7
#9E7AA3
#8B6491
#745379
#5D4360
#453347
#2B202D
Base = 400Lightest = 50 · #F8F6F8Darkest = 950 · #2B202D
:root {
  --brand-50: #F8F6F8;
  --brand-100: #F1EEF2;
  --brand-200: #E2D9E3;
  --brand-300: #CFBDD1;
  --brand-400: #b397b7;
  --brand-500: #9E7AA3;
  --brand-600: #8B6491;
  --brand-700: #745379;
  --brand-800: #5D4360;
  --brand-900: #453347;
  --brand-950: #2B202D;
  --brand: #b397b7;
  --brand-ink: #000000;
}

Colors that work with #b397b7

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#F8F6F9
Tinted page background
Border#DCCFDE
Hairlines and dividers
Muted text#825E88
Captions on the surface
Accent#607D4F
Second voice, not a rival
Dark variant#48344B
Hover, pressed, headers
Light variant#F4F0F5
Selected rows, tints
Dark surface#201721
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 #b397b7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#9BB797
Analogous left#A397B7
Analogous right#B797AB
Split-complement 1#ABB797
Split-complement 2#97B7A3
Triadic 1#B7B397
Triadic 2#97B7B3
Tetradic#B7A397

RGB percentages

Red70.2%
Green59.2%
Blue71.8%

CMYK percentages

Cyan2.2%
Magenta17.5%
Yellow0.0%
Key (black)28.2%

Color previews

#b397b7 text on a black background

contrast 8.03:1

Card sample

#b397b7 text on a white background

contrast 2.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 151, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 151, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b397b7;
background: linear-gradient(135deg, #b397b7, #B797A6);

Monochromatic scale

Palettes built from #b397b7

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.

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

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

#b397b7, answered

What color is #b397b7?

#b397b7 is a light soft magenta / pink, closest to Plum (ΔE2000 10.1). It sits at 293° on the hue wheel with 18% saturation and 66% lightness, which reads as neutral.

What is the RGB value of #b397b7?

rgb(179, 151, 183) — 179 red, 151 green and 183 blue out of 255, or 70.2% / 59.2% / 71.8% by channel.

Is #b397b7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3514 and perceived brightness is 64%, so black text on it reaches 8.03:1.

Should I use black or white text on #b397b7?

Black. It scores 8.03:1 against #b397b7, versus 2.62:1 for white — AAA at any size.

What is the complementary color of #b397b7?

#9BB797 sits directly opposite on the wheel. Softer options are the split-complements #ABB797 and #97B7A3, which give the same contrast with far less vibration.

What colors go well with #b397b7?

For interface work: #F8F6F9 as the surface, #DCCFDE for borders, #825E88 for secondary text, #607D4F as an accent and #48344B for hover and pressed states. For a palette, the analogous pair #A397B7 and #B797AB stays calm, while #9BB797 is the loudest partner.

What is #b397b7 in CMYK for printing?

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

Is #b397b7 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 #B797AF; nudged cooler, #A795B9.

Work with #b397b7 in the Color Lab