#9B3AAB#9B3AAB

#9B3AAB is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 321.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9B3AAB
RGBrgb(155, 58, 171)
HSLhsl(292, 49%, 45%)
HSVhsv(292, 66%, 67%)
CMYKcmyk(9.4%, 66.1%, 0%, 32.9%)
CIE-LABlab(42.67, 55.88, -41.90)
CIE-LCHlch(42.67, 69.84, 323.14°)
OKLaboklab(52.99% 0.148 -0.1168)
OKLCHoklch(52.99% 0.189 321.7)
XYZxyz(22.3805, 12.9361, 39.8382)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AAB #4AAB3A
analogous
#623AAB #9B3AAB #AB3A83
triadic
#9B3AAB #AB9B3A #3AAB9B
tetradic
#9B3AAB #AB623A #4AAB3A #3A83AB
square
#9B3AAB #AB623A #4AAB3A #3A83AB
split-complementary
#9B3AAB #83AB3A #3AAB62
monochromatic
#481B50 #722A7D #9B3AAB #B85BC7 #CC89D7

Accessibility & contrast

On white

5.85
#9B3AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9B3AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AAB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AAB#FFFFFF#000000##FFFFFF
##9B3AAB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#4868A8
Tritanopia (blue-blind)
#9D4D6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3aab;
/* rgb */ color: rgb(155, 58, 171);
/* oklch */ color: oklch(53.0% 0.189 321.7);
Tailwind
colors: {
  custom: {
    50: '#bc78c4',
    500: '#9b3aab',
    950: '#000000',
  },
}
SCSS
$custom: #9b3aab;
$custom-light: #bc78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3aab",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 291.504,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.18857,
    "h": 321.7
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#9B3AAB
secondary
#89C180
accent
#D94F62
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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