#9B3A8D#9B3A8D

#9B3A8D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.163 H 333.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9B3A8D
RGBrgb(155, 58, 141)
HSLhsl(309, 46%, 42%)
HSVhsv(309, 63%, 61%)
CMYKcmyk(0%, 62.6%, 9%, 39.2%)
CIE-LABlab(41.09, 50.52, -26.36)
CIE-LCHlch(41.09, 56.99, 332.44°)
OKLaboklab(51.33% 0.1459 -0.0719)
OKLCHoklch(51.33% 0.163 333.8)
XYZxyz(19.8384, 11.9193, 26.4499)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3A8D #3A9B48
analogous
#793A9B #9B3A8D #9B3A5D
triadic
#9B3A8D #8D9B3A #3A8D9B
tetradic
#9B3A8D #9B793A #3A9B48 #3A5D9B
square
#9B3A8D #9B793A #3A9B48 #3A5D9B
split-complementary
#9B3A8D #5D9B3A #3A9B79
monochromatic
#42193C #6E2964 #9B3A8D #BF53AF #CF80C4

Accessibility & contrast

On white

6.21
#9B3A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B3A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3A8D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3A8D#FFFFFF#000000##FFFFFF
##9B3A8D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#A2415E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b3a8d;
/* rgb */ color: rgb(155, 58, 141);
/* oklch */ color: oklch(51.3% 0.163 333.8);
Tailwind
colors: {
  custom: {
    50: '#bb77ae',
    500: '#9b3a8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b3a8d;
$custom-light: #bb77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3a8d",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 308.66,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.1627,
    "h": 333.8
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#9B3A8D
secondary
#78B981
accent
#D56553
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B3A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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