#9B4E91#9B4E91

#9B4E91 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.2% C 0.134 H 332.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9B4E91
RGBrgb(155, 78, 145)
HSLhsl(308, 33%, 46%)
HSVhsv(308, 50%, 61%)
CMYKcmyk(0%, 49.7%, 6.5%, 39.2%)
CIE-LABlab(44.89, 41.50, -22.88)
CIE-LCHlch(44.89, 47.39, 331.13°)
OKLaboklab(54.19% 0.1185 -0.0622)
OKLCHoklch(54.19% 0.134 332.3)
XYZxyz(21.3527, 14.4630, 28.4495)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4E91 #4E9B58
analogous
#7E4E9B #9B4E91 #9B4E6A
triadic
#9B4E91 #919B4E #4E919B
tetradic
#9B4E91 #9B7E4E #4E9B58 #4E6A9B
square
#9B4E91 #9B7E4E #4E9B58 #4E6A9B
split-complementary
#9B4E91 #6A9B4E #4E9B7E
monochromatic
#4A2545 #723A6B #9B4E91 #B76FAD #CB98C5

Accessibility & contrast

On white

5.40
#9B4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9B4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4E91
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4E91#FFFFFF#000000##FFFFFF
##9B4E911.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6393
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#A15369
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b4e91;
/* rgb */ color: rgb(155, 78, 145);
/* oklch */ color: oklch(54.2% 0.134 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba82b1',
    500: '#9b4e91',
    950: '#000000',
  },
}
SCSS
$custom: #9b4e91;
$custom-light: #ba82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4e91",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 307.792,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.13382,
    "h": 332.3
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#9B4E91
secondary
#8DB893
accent
#C96C5F
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9B4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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