#9B1B8A#9B1B8A

#9B1B8A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.197 H 334.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9B1B8A
RGBrgb(155, 27, 138)
HSLhsl(308, 70%, 36%)
HSVhsv(308, 83%, 61%)
CMYKcmyk(0%, 82.6%, 11%, 39.2%)
CIE-LABlab(37.09, 60.90, -30.79)
CIE-LCHlch(37.09, 68.24, 333.18°)
OKLaboklab(48.39% 0.1775 -0.0844)
OKLCHoklch(48.39% 0.197 334.6)
XYZxyz(18.4972, 9.5891, 24.9165)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B8A #1B9B2C
analogous
#6C1B9B #9B1B8A #9B1B4A
triadic
#9B1B8A #8A9B1B #1B8A9B
tetradic
#9B1B8A #9B6C1B #1B9B2C #1B4A9B
square
#9B1B8A #9B6C1B #1B9B2C #1B4A9B
split-complementary
#9B1B8A #4A9B1B #1B9B6C
monochromatic
#33092D #67125C #9B1B8A #CF24B8 #E050CD

Accessibility & contrast

On white

7.20
#9B1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B8A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B8A#FFFFFF#000000##FFFFFF
##9B1B8A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A32953
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1b8a;
/* rgb */ color: rgb(155, 27, 138);
/* oklch */ color: oklch(48.4% 0.197 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc69ac',
    500: '#9b1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b8a;
$custom-light: #bc69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b8a",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 307.969,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48394,
    "c": 0.19658,
    "h": 334.6
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#9B1B8A
secondary
#4FC35E
accent
#ED523B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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