#9B397B#9B397B

#9B397B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.151 H 342.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9B397B
RGBrgb(155, 57, 123)
HSLhsl(320, 46%, 42%)
HSVhsv(320, 63%, 61%)
CMYKcmyk(0%, 63.2%, 20.6%, 39.2%)
CIE-LABlab(40.13, 48.14, -16.82)
CIE-LCHlch(40.13, 50.99, 340.75°)
OKLaboklab(50.36% 0.1439 -0.0449)
OKLCHoklch(50.36% 0.151 342.7)
XYZxyz(18.5564, 11.3266, 19.9440)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B397B #399B59
analogous
#8A399B #9B397B #9B394A
triadic
#9B397B #7B9B39 #397B9B
tetradic
#9B397B #9B8A39 #399B59 #394A9B
square
#9B397B #9B8A39 #399B59 #394A9B
split-complementary
#9B397B #4A9B39 #399B8A
monochromatic
#421834 #6E2957 #9B397B #BF529C #D07FB5

Accessibility & contrast

On white

6.43
#9B397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B397B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B397B#FFFFFF#000000##FFFFFF
##9B397B1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#A43A55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b397b;
/* rgb */ color: rgb(155, 57, 123);
/* oklch */ color: oklch(50.4% 0.151 342.7);
Tailwind
colors: {
  custom: {
    50: '#bb76a1',
    500: '#9b397b',
    950: '#000000',
  },
}
SCSS
$custom: #9b397b;
$custom-light: #bb76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b397b",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 319.592,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.15078,
    "h": 342.7
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#9B397B
secondary
#77B98C
accent
#D67D52
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12090F
muted
#817B7E

Preview Lab

Preview with #9B397B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9B397B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva