#9B1B89#9B1B89

#9B1B89 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 335.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B1B89
RGBrgb(155, 27, 137)
HSLhsl(308, 70%, 36%)
HSVhsv(308, 83%, 61%)
CMYKcmyk(0%, 82.6%, 11.6%, 39.2%)
CIE-LABlab(37.04, 60.75, -30.26)
CIE-LCHlch(37.04, 67.87, 333.52°)
OKLaboklab(48.34% 0.1775 -0.0829)
OKLCHoklch(48.34% 0.196 335)
XYZxyz(18.4251, 9.5603, 24.5370)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B89 #1B9B2D
analogous
#6D1B9B #9B1B89 #9B1B49
triadic
#9B1B89 #899B1B #1B899B
tetradic
#9B1B89 #9B6D1B #1B9B2D #1B499B
square
#9B1B89 #9B6D1B #1B9B2D #1B499B
split-complementary
#9B1B89 #499B1B #1B9B6D
monochromatic
#33092D #67125B #9B1B89 #CF24B7 #E050CC

Accessibility & contrast

On white

7.21
#9B1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B89
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B89#FFFFFF#000000##FFFFFF
##9B1B891.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#4C5E86
Tritanopia (blue-blind)
#A32852
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1b89;
/* rgb */ color: rgb(155, 27, 137);
/* oklch */ color: oklch(48.3% 0.196 335.0);
Tailwind
colors: {
  custom: {
    50: '#bc69ac',
    500: '#9b1b89',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b89;
$custom-light: #bc69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b89",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 308.438,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.19588,
    "h": 335
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#9B1B89
secondary
#4FC35F
accent
#ED543B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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