#9B1D8B#9B1D8B

#9B1D8B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.196 H 334.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9B1D8B
RGBrgb(155, 29, 139)
HSLhsl(308, 68%, 36%)
HSVhsv(308, 81%, 61%)
CMYKcmyk(0%, 81.3%, 10.3%, 39.2%)
CIE-LABlab(37.32, 60.54, -31.05)
CIE-LCHlch(37.32, 68.04, 332.85°)
OKLaboklab(48.57% 0.1761 -0.0851)
OKLCHoklch(48.57% 0.196 334.2)
XYZxyz(18.6173, 9.7131, 25.3154)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1D8B #1D9B2D
analogous
#6C1D9B #9B1D8B #9B1D4C
triadic
#9B1D8B #8B9B1D #1D8B9B
tetradic
#9B1D8B #9B6C1D #1D9B2D #1D4C9B
square
#9B1D8B #9B6C1D #1D9B2D #1D4C9B
split-complementary
#9B1D8B #4C9B1D #1D9B6C
monochromatic
#340A2F #67135D #9B1D8B #CF27B9 #DF53CD

Accessibility & contrast

On white

7.14
#9B1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9B1D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1D8B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1D8B#FFFFFF#000000##FFFFFF
##9B1D8B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#A32B54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1d8b;
/* rgb */ color: rgb(155, 29, 139);
/* oklch */ color: oklch(48.6% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aad',
    500: '#9b1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1d8b;
$custom-light: #bc6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1d8b",
  "rgb": {
    "r": 155,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 307.619,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.19558,
    "h": 334.2
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#9B1D8B
secondary
#52C260
accent
#EB533C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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