#9B397F#9B397F

#9B397F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.154 H 340.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9B397F
RGBrgb(155, 57, 127)
HSLhsl(317, 46%, 42%)
HSVhsv(317, 63%, 61%)
CMYKcmyk(0%, 63.2%, 18.1%, 39.2%)
CIE-LABlab(40.29, 48.74, -19.02)
CIE-LCHlch(40.29, 52.32, 338.68°)
OKLaboklab(50.54% 0.1448 -0.0511)
OKLCHoklch(50.54% 0.154 340.6)
XYZxyz(18.8119, 11.4288, 21.2898)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B397F #399B55
analogous
#86399B #9B397F #9B394E
triadic
#9B397F #7F9B39 #397F9B
tetradic
#9B397F #9B8639 #399B55 #394E9B
square
#9B397F #9B8639 #399B55 #394E9B
split-complementary
#9B397F #4E9B39 #399B86
monochromatic
#421836 #6E295A #9B397F #BF52A0 #D07FB9

Accessibility & contrast

On white

6.39
#9B397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B397F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B397F#FFFFFF#000000##FFFFFF
##9B397F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#5C657D
Tritanopia (blue-blind)
#A43B57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b397f;
/* rgb */ color: rgb(155, 57, 127);
/* oklch */ color: oklch(50.5% 0.154 340.6);
Tailwind
colors: {
  custom: {
    50: '#bb76a4',
    500: '#9b397f',
    950: '#000000',
  },
}
SCSS
$custom: #9b397f;
$custom-light: #bb76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b397f",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 317.143,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.15356,
    "h": 340.6
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#9B397F
secondary
#77B98A
accent
#D67852
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B397F

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

Preview Lab → · Contrast checker → · Palette generator →

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