#9B397E#9B397E

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

Color values

HEX#9B397E
RGBrgb(155, 57, 126)
HSLhsl(318, 46%, 42%)
HSVhsv(318, 63%, 61%)
CMYKcmyk(0%, 63.2%, 18.7%, 39.2%)
CIE-LABlab(40.25, 48.59, -18.47)
CIE-LCHlch(40.25, 51.98, 339.18°)
OKLaboklab(50.5% 0.1446 -0.0496)
OKLCHoklch(50.5% 0.153 341.1)
XYZxyz(18.7470, 11.4028, 20.9482)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B397E #399B56
analogous
#87399B #9B397E #9B394D
triadic
#9B397E #7E9B39 #397E9B
tetradic
#9B397E #9B8739 #399B56 #394D9B
square
#9B397E #9B8739 #399B56 #394D9B
split-complementary
#9B397E #4D9B39 #399B87
monochromatic
#421835 #6E295A #9B397E #BF529F #D07FB8

Accessibility & contrast

On white

6.40
#9B397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B397E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B397E#FFFFFF#000000##FFFFFF
##9B397E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#A43B56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b397e;
/* rgb */ color: rgb(155, 57, 126);
/* oklch */ color: oklch(50.5% 0.153 341.1);
Tailwind
colors: {
  custom: {
    50: '#bb76a3',
    500: '#9b397e',
    950: '#000000',
  },
}
SCSS
$custom: #9b397e;
$custom-light: #bb76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b397e",
  "rgb": {
    "r": 155,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 317.755,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.15285,
    "h": 341.1
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#9B397E
secondary
#77B98A
accent
#D67952
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B397E

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

Preview Lab → · Contrast checker → · Palette generator →

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