#9B1B86#9B1B86

#9B1B86 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.194 H 336.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9B1B86
RGBrgb(155, 27, 134)
HSLhsl(310, 70%, 36%)
HSVhsv(310, 83%, 61%)
CMYKcmyk(0%, 82.6%, 13.5%, 39.2%)
CIE-LABlab(36.88, 60.31, -28.65)
CIE-LCHlch(36.88, 66.77, 334.59°)
OKLaboklab(48.18% 0.1773 -0.0782)
OKLCHoklch(48.18% 0.194 336.2)
XYZxyz(18.2129, 9.4754, 23.4194)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B86 #1B9B30
analogous
#701B9B #9B1B86 #9B1B46
triadic
#9B1B86 #869B1B #1B869B
tetradic
#9B1B86 #9B701B #1B9B30 #1B469B
square
#9B1B86 #9B701B #1B9B30 #1B469B
split-complementary
#9B1B86 #469B1B #1B9B70
monochromatic
#33092C #671259 #9B1B86 #CF24B3 #E050C9

Accessibility & contrast

On white

7.25
#9B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B86
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B86#FFFFFF#000000##FFFFFF
##9B1B861.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#4E5D83
Tritanopia (blue-blind)
#A32651
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1b86;
/* rgb */ color: rgb(155, 27, 134);
/* oklch */ color: oklch(48.2% 0.194 336.2);
Tailwind
colors: {
  custom: {
    50: '#bc69a9',
    500: '#9b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b86;
$custom-light: #bc69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b86",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 309.844,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.19383,
    "h": 336.2
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#9B1B86
secondary
#4FC362
accent
#ED583B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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