#9B1A8B#9B1A8B

#9B1A8B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.198 H 334.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B1A8B
RGBrgb(155, 26, 139)
HSLhsl(307, 71%, 35%)
HSVhsv(307, 83%, 61%)
CMYKcmyk(0%, 83.2%, 10.3%, 39.2%)
CIE-LABlab(37.07, 61.28, -31.45)
CIE-LCHlch(37.07, 68.88, 332.83°)
OKLaboklab(48.39% 0.1783 -0.0863)
OKLCHoklch(48.39% 0.198 334.2)
XYZxyz(18.5474, 9.5731, 25.2921)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A8B #1A9B2A
analogous
#6A1A9B #9B1A8B #9B1A4A
triadic
#9B1A8B #8B9B1A #1A8B9B
tetradic
#9B1A8B #9B6A1A #1A9B2A #1A4A9B
square
#9B1A8B #9B6A1A #1A9B2A #1A4A9B
split-complementary
#9B1A8B #4A9B1A #1A9B6A
monochromatic
#32082D #67115C #9B1A8B #CF23BA #E14ECF

Accessibility & contrast

On white

7.21
#9B1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B1A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A8B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A8B#FFFFFF#000000##FFFFFF
##9B1A8B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#A32953
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1a8b;
/* rgb */ color: rgb(155, 26, 139);
/* oklch */ color: oklch(48.4% 0.198 334.2);
Tailwind
colors: {
  custom: {
    50: '#bc69ad',
    500: '#9b1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a8b;
$custom-light: #bc69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a8b",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 307.442,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.19806,
    "h": 334.2
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#9B1A8B
secondary
#4DC45C
accent
#EE503A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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