#9B1C8E#9B1C8E

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

Color values

HEX#9B1C8E
RGBrgb(155, 28, 142)
HSLhsl(306, 69%, 36%)
HSVhsv(306, 82%, 61%)
CMYKcmyk(0%, 81.9%, 8.4%, 39.2%)
CIE-LABlab(37.40, 61.25, -32.77)
CIE-LCHlch(37.40, 69.46, 331.85°)
OKLaboklab(48.68% 0.1769 -0.0901)
OKLCHoklch(48.68% 0.199 333)
XYZxyz(18.8154, 9.7537, 26.4776)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1C8E #1C9B29
analogous
#681C9B #9B1C8E #9B1C4E
triadic
#9B1C8E #8E9B1C #1C8E9B
tetradic
#9B1C8E #9B681C #1C9B29 #1C4E9B
square
#9B1C8E #9B681C #1C9B29 #1C4E9B
split-complementary
#9B1C8E #4E9B1C #1C9B68
monochromatic
#33092F #67135F #9B1C8E #CF25BD #E052D1

Accessibility & contrast

On white

7.12
#9B1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1C8E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1C8E#FFFFFF#000000##FFFFFF
##9B1C8E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#A22C55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b1c8e;
/* rgb */ color: rgb(155, 28, 142);
/* oklch */ color: oklch(48.7% 0.199 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc6aaf',
    500: '#9b1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1c8e;
$custom-light: #bc6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1c8e",
  "rgb": {
    "r": 155,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 306.142,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.19855,
    "h": 333
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#9B1C8E
secondary
#50C35C
accent
#EC4E3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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