#9B397D#9B397D

#9B397D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.4% C 0.152 H 341.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B397D
RGBrgb(155, 57, 125)
HSLhsl(318, 46%, 42%)
HSVhsv(318, 63%, 61%)
CMYKcmyk(0%, 63.2%, 19.4%, 39.2%)
CIE-LABlab(40.21, 48.44, -17.92)
CIE-LCHlch(40.21, 51.65, 339.70°)
OKLaboklab(50.45% 0.1444 -0.048)
OKLCHoklch(50.45% 0.152 341.6)
XYZxyz(18.6828, 11.3772, 20.6101)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B397D #399B57
analogous
#88399B #9B397D #9B394C
triadic
#9B397D #7D9B39 #397D9B
tetradic
#9B397D #9B8839 #399B57 #394C9B
square
#9B397D #9B8839 #399B57 #394C9B
split-complementary
#9B397D #4C9B39 #399B88
monochromatic
#421835 #6E2959 #9B397D #BF529E #D07FB7

Accessibility & contrast

On white

6.41
#9B397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B397D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B397D#FFFFFF#000000##FFFFFF
##9B397D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#A43A56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b397d;
/* rgb */ color: rgb(155, 57, 125);
/* oklch */ color: oklch(50.4% 0.152 341.6);
Tailwind
colors: {
  custom: {
    50: '#bb76a2',
    500: '#9b397d',
    950: '#000000',
  },
}
SCSS
$custom: #9b397d;
$custom-light: #bb76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b397d",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 318.367,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.15216,
    "h": 341.6
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#9B397D
secondary
#77B98B
accent
#D67A52
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B397D

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

Preview Lab → · Contrast checker → · Palette generator →

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