#9B1A8A#9B1A8A

#9B1A8A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 334.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9B1A8A
RGBrgb(155, 26, 138)
HSLhsl(308, 71%, 35%)
HSVhsv(308, 83%, 61%)
CMYKcmyk(0%, 83.2%, 11%, 39.2%)
CIE-LABlab(37.01, 61.14, -30.92)
CIE-LCHlch(37.01, 68.51, 333.17°)
OKLaboklab(48.34% 0.1783 -0.0848)
OKLCHoklch(48.34% 0.197 334.6)
XYZxyz(18.4746, 9.5440, 24.9090)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A8A #1A9B2B
analogous
#6B1A9B #9B1A8A #9B1A49
triadic
#9B1A8A #8A9B1A #1A8A9B
tetradic
#9B1A8A #9B6B1A #1A9B2B #1A499B
square
#9B1A8A #9B6B1A #1A9B2B #1A499B
split-complementary
#9B1A8A #499B1A #1A9B6B
monochromatic
#32082D #67115B #9B1A8A #CF23B9 #E14ECE

Accessibility & contrast

On white

7.22
#9B1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1A8A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A8A#FFFFFF#000000##FFFFFF
##9B1A8A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#A32853
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b1a8a;
/* rgb */ color: rgb(155, 26, 138);
/* oklch */ color: oklch(48.3% 0.197 334.6);
Tailwind
colors: {
  custom: {
    50: '#bc69ac',
    500: '#9b1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a8a;
$custom-light: #bc69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a8a",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 307.907,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48335,
    "c": 0.19738,
    "h": 334.6
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#9B1A8A
secondary
#4DC45D
accent
#EE523A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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