#9B4D91#9B4D91

#9B4D91 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.0% C 0.136 H 332.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B4D91
RGBrgb(155, 77, 145)
HSLhsl(308, 34%, 45%)
HSVhsv(308, 50%, 61%)
CMYKcmyk(0%, 50.3%, 6.5%, 39.2%)
CIE-LABlab(44.69, 42.02, -23.18)
CIE-LCHlch(44.69, 47.99, 331.11°)
OKLaboklab(54.04% 0.12 -0.063)
OKLCHoklch(54.04% 0.136 332.3)
XYZxyz(21.2822, 14.3220, 28.4260)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4D91 #4D9B57
analogous
#7E4D9B #9B4D91 #9B4D6A
triadic
#9B4D91 #919B4D #4D919B
tetradic
#9B4D91 #9B7E4D #4D9B57 #4D6A9B
square
#9B4D91 #9B7E4D #4D9B57 #4D6A9B
split-complementary
#9B4D91 #6A9B4D #4D9B7E
monochromatic
#492444 #72396B #9B4D91 #B76EAE #CB97C5

Accessibility & contrast

On white

5.43
#9B4D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9B4D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4D91
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4D91#FFFFFF#000000##FFFFFF
##9B4D911.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#A15268
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b4d91;
/* rgb */ color: rgb(155, 77, 145);
/* oklch */ color: oklch(54.0% 0.136 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba82b1',
    500: '#9b4d91',
    950: '#000000',
  },
}
SCSS
$custom: #9b4d91;
$custom-light: #ba82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4d91",
  "rgb": {
    "r": 155,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 307.692,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.13555,
    "h": 332.3
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#9B4D91
secondary
#8CB892
accent
#CA6C5E
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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