#9B3AAE#9B3AAE

#9B3AAE is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.191 H 320.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9B3AAE
RGBrgb(155, 58, 174)
HSLhsl(290, 50%, 45%)
HSVhsv(290, 67%, 68%)
CMYKcmyk(10.9%, 66.7%, 0%, 31.8%)
CIE-LABlab(42.84, 56.45, -43.40)
CIE-LCHlch(42.84, 71.21, 322.45°)
OKLaboklab(53.17% 0.148 -0.1212)
OKLCHoklch(53.17% 0.191 320.7)
XYZxyz(22.6697, 13.0518, 41.3613)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3AAE #4DAE3A
analogous
#613AAE #9B3AAE #AE3A87
triadic
#9B3AAE #AE9B3A #3AAE9B
tetradic
#9B3AAE #AE613A #4DAE3A #3A87AE
square
#9B3AAE #AE613A #4DAE3A #3A87AE
split-complementary
#9B3AAE #87AE3A #3AAE61
monochromatic
#491B52 #722B80 #9B3AAE #B75CC9 #CB8AD8

Accessibility & contrast

On white

5.82
#9B3AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9B3AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3AAE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3AAE#FFFFFF#000000##FFFFFF
##9B3AAE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB1
Deuteranopia (green-blind)
#4569AB
Tritanopia (blue-blind)
#9C4E6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9b3aae;
/* rgb */ color: rgb(155, 58, 174);
/* oklch */ color: oklch(53.2% 0.191 320.7);
Tailwind
colors: {
  custom: {
    50: '#bc78c7',
    500: '#9b3aae',
    950: '#000000',
  },
}
SCSS
$custom: #9b3aae;
$custom-light: #bc78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3aae",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 290.172,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.19129,
    "h": 320.7
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#9B3AAE
secondary
#8CC281
accent
#DA4E65
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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