#9B1C8D#9B1C8D

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

Color values

HEX#9B1C8D
RGBrgb(155, 28, 141)
HSLhsl(307, 69%, 36%)
HSVhsv(307, 82%, 61%)
CMYKcmyk(0%, 81.9%, 9%, 39.2%)
CIE-LABlab(37.34, 61.09, -32.24)
CIE-LCHlch(37.34, 69.08, 332.18°)
OKLaboklab(48.62% 0.1769 -0.0886)
OKLCHoklch(48.62% 0.198 333.4)
XYZxyz(18.7407, 9.7238, 26.0840)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C8D #1C9B2A
analogous
#691C9B #9B1C8D #9B1C4D
triadic
#9B1C8D #8D9B1C #1C8D9B
tetradic
#9B1C8D #9B691C #1C9B2A #1C4D9B
square
#9B1C8D #9B691C #1C9B2A #1C4D9B
split-complementary
#9B1C8D #4D9B1C #1C9B69
monochromatic
#33092F #67135E #9B1C8D #CF25BC #E052D0

Accessibility & contrast

On white

7.13
#9B1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1C8D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C8D#FFFFFF#000000##FFFFFF
##9B1C8D1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#A22B55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1c8d;
/* rgb */ color: rgb(155, 28, 141);
/* oklch */ color: oklch(48.6% 0.198 333.4);
Tailwind
colors: {
  custom: {
    50: '#bc6aaf',
    500: '#9b1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c8d;
$custom-light: #bc6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c8d",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 306.614,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.19784,
    "h": 333.4
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#9B1C8D
secondary
#50C35D
accent
#EC4F3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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