#9B3D8A#9B3D8A

#9B3D8A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.5% C 0.156 H 335.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B3D8A
RGBrgb(155, 61, 138)
HSLhsl(311, 44%, 42%)
HSVhsv(311, 61%, 61%)
CMYKcmyk(0%, 60.6%, 11%, 39.2%)
CIE-LABlab(41.44, 48.68, -23.99)
CIE-LCHlch(41.44, 54.27, 333.77°)
OKLaboklab(51.54% 0.1415 -0.0652)
OKLCHoklch(51.54% 0.156 335.3)
XYZxyz(19.7739, 12.1426, 25.3421)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3D8A #3D9B4E
analogous
#7D3D9B #9B3D8A #9B3D5B
triadic
#9B3D8A #8A9B3D #3D8A9B
tetradic
#9B3D8A #9B7D3D #3D9B4E #3D5B9B
square
#9B3D8A #9B7D3D #3D9B4E #3D5B9B
split-complementary
#9B3D8A #5B9B3D #3D9B7D
monochromatic
#431A3C #6F2C63 #9B3D8A #BD58AB #CF84C1

Accessibility & contrast

On white

6.13
#9B3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9B3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3D8A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3D8A#FFFFFF#000000##FFFFFF
##9B3D8A1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#5A6788
Tritanopia (blue-blind)
#A2425E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b3d8a;
/* rgb */ color: rgb(155, 61, 138);
/* oklch */ color: oklch(51.5% 0.156 335.3);
Tailwind
colors: {
  custom: {
    50: '#bb78ac',
    500: '#9b3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b3d8a;
$custom-light: #bb78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3d8a",
  "rgb": {
    "r": 155,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 310.851,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51542,
    "c": 0.1558,
    "h": 335.3
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#9B3D8A
secondary
#7BB986
accent
#D36B55
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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