#9B1C8F#9B1C8F

#9B1C8F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 332.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9B1C8F
RGBrgb(155, 28, 143)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 82%, 61%)
CMYKcmyk(0%, 81.9%, 7.7%, 39.2%)
CIE-LABlab(37.45, 61.40, -33.30)
CIE-LCHlch(37.45, 69.85, 331.53°)
OKLaboklab(48.74% 0.1769 -0.0916)
OKLCHoklch(48.74% 0.199 332.6)
XYZxyz(18.8909, 9.7839, 26.8748)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C8F #1C9B28
analogous
#671C9B #9B1C8F #9B1C4F
triadic
#9B1C8F #8F9B1C #1C8F9B
tetradic
#9B1C8F #9B671C #1C9B28 #1C4F9B
square
#9B1C8F #9B671C #1C9B28 #1C4F9B
split-complementary
#9B1C8F #4F9B1C #1C9B67
monochromatic
#33092F #67135F #9B1C8F #CF25BF #E052D2

Accessibility & contrast

On white

7.10
#9B1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9B1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C8F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C8F#FFFFFF#000000##FFFFFF
##9B1C8F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#A22C56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1c8f;
/* rgb */ color: rgb(155, 28, 143);
/* oklch */ color: oklch(48.7% 0.199 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ab0',
    500: '#9b1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c8f;
$custom-light: #bc6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c8f",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 305.669,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.19926,
    "h": 332.6
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#9B1C8F
secondary
#50C35B
accent
#EC4C3C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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