#9B4BB7#9B4BB7

#9B4BB7 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.176 H 316.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9B4BB7
RGBrgb(155, 75, 183)
HSLhsl(284, 43%, 51%)
HSVhsv(284, 59%, 72%)
CMYKcmyk(15.3%, 59%, 0%, 28.2%)
CIE-LABlab(46.20, 50.43, -43.33)
CIE-LCHlch(46.20, 66.49, 319.33°)
OKLaboklab(55.77% 0.1274 -0.1211)
OKLCHoklch(55.77% 0.176 316.4)
XYZxyz(24.5796, 15.4205, 46.4723)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4BB7 #67B74B
analogous
#654BB7 #9B4BB7 #B74B9D
triadic
#9B4BB7 #B79B4B #4BB79B
tetradic
#9B4BB7 #B7654B #67B74B #4B9DB7
square
#9B4BB7 #B7654B #67B74B #4B9DB7
split-complementary
#9B4BB7 #9DB74B #4BB765
monochromatic
#522761 #77388D #9B4BB7 #B377C8 #CCA2DA

Accessibility & contrast

On white

5.14
#9B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B4BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4BB7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4BB7#FFFFFF#000000##FFFFFF
##9B4BB71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#9A5D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4bb7;
/* rgb */ color: rgb(155, 75, 183);
/* oklch */ color: oklch(55.8% 0.176 316.4);
Tailwind
colors: {
  custom: {
    50: '#bb81cd',
    500: '#9b4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4bb7;
$custom-light: #bb81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4bb7",
  "rgb": {
    "r": 155,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 284.444,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.17579,
    "h": 316.4
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#9B4BB7
secondary
#A3C797
accent
#D35576
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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