#9B1C8A#9B1C8A

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

Color values

HEX#9B1C8A
RGBrgb(155, 28, 138)
HSLhsl(308, 69%, 36%)
HSVhsv(308, 82%, 61%)
CMYKcmyk(0%, 81.9%, 11%, 39.2%)
CIE-LABlab(37.18, 60.65, -30.65)
CIE-LCHlch(37.18, 67.95, 333.19°)
OKLaboklab(48.46% 0.1768 -0.084)
OKLCHoklch(48.46% 0.196 334.6)
XYZxyz(18.5205, 9.6357, 24.9243)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C8A #1C9B2D
analogous
#6C1C9B #9B1C8A #9B1C4B
triadic
#9B1C8A #8A9B1C #1C8A9B
tetradic
#9B1C8A #9B6C1C #1C9B2D #1C4B9B
square
#9B1C8A #9B6C1C #1C9B2D #1C4B9B
split-complementary
#9B1C8A #4B9B1C #1C9B6C
monochromatic
#33092E #67135C #9B1C8A #CF25B8 #E052CD

Accessibility & contrast

On white

7.18
#9B1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1C8A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C8A#FFFFFF#000000##FFFFFF
##9B1C8A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A32953
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1c8a;
/* rgb */ color: rgb(155, 28, 138);
/* oklch */ color: oklch(48.5% 0.196 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc69ac',
    500: '#9b1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c8a;
$custom-light: #bc69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c8a",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 308.031,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.19574,
    "h": 334.6
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#9B1C8A
secondary
#50C360
accent
#EC533C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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