#9B1887#9B1887

#9B1887 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 335.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9B1887
RGBrgb(155, 24, 135)
HSLhsl(309, 73%, 35%)
HSVhsv(309, 85%, 61%)
CMYKcmyk(0%, 84.5%, 12.9%, 39.2%)
CIE-LABlab(36.69, 61.16, -29.57)
CIE-LCHlch(36.69, 67.94, 334.20°)
OKLaboklab(48.06% 0.1795 -0.0809)
OKLCHoklch(48.06% 0.197 335.7)
XYZxyz(18.2177, 9.3728, 23.7667)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1887 #189B2C
analogous
#6D189B #9B1887 #9B1846
triadic
#9B1887 #879B18 #18879B
tetradic
#9B1887 #9B6D18 #189B2C #18469B
square
#9B1887 #9B6D18 #189B2C #18469B
split-complementary
#9B1887 #469B18 #189B6D
monochromatic
#31082B #661059 #9B1887 #D020B5 #E34ACC

Accessibility & contrast

On white

7.31
#9B1887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9B1887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1887
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1887#FFFFFF#000000##FFFFFF
##9B18871.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#A32551
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1887;
/* rgb */ color: rgb(155, 24, 135);
/* oklch */ color: oklch(48.1% 0.197 335.7);
Tailwind
colors: {
  custom: {
    50: '#bd68aa',
    500: '#9b1887',
    950: '#000000',
  },
}
SCSS
$custom: #9b1887;
$custom-light: #bd68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1887",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 309.16,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.19688,
    "h": 335.7
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#9B1887
secondary
#4AC55D
accent
#F05438
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1887

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

Preview Lab → · Contrast checker → · Palette generator →

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