#9B1C8B#9B1C8B

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

Color values

HEX#9B1C8B
RGBrgb(155, 28, 139)
HSLhsl(308, 69%, 36%)
HSVhsv(308, 82%, 61%)
CMYKcmyk(0%, 81.9%, 10.3%, 39.2%)
CIE-LABlab(37.23, 60.80, -31.19)
CIE-LCHlch(37.23, 68.33, 332.84°)
OKLaboklab(48.51% 0.1768 -0.0855)
OKLCHoklch(48.51% 0.196 334.2)
XYZxyz(18.5932, 9.6648, 25.3074)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C8B #1C9B2C
analogous
#6B1C9B #9B1C8B #9B1C4B
triadic
#9B1C8B #8B9B1C #1C8B9B
tetradic
#9B1C8B #9B6B1C #1C9B2C #1C4B9B
square
#9B1C8B #9B6B1C #1C9B2C #1C4B9B
split-complementary
#9B1C8B #4B9B1C #1C9B6B
monochromatic
#33092E #67135D #9B1C8B #CF25B9 #E052CE

Accessibility & contrast

On white

7.16
#9B1C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B1C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C8B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C8B#FFFFFF#000000##FFFFFF
##9B1C8B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1c8b;
/* rgb */ color: rgb(155, 28, 139);
/* oklch */ color: oklch(48.5% 0.196 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aad',
    500: '#9b1c8b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c8b;
$custom-light: #bc6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c8b",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 307.559,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.19644,
    "h": 334.2
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#9B1C8B
secondary
#50C35F
accent
#EC523C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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