#9B3192#9B3192

#9B3192 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.179 H 331.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9B3192
RGBrgb(155, 49, 146)
HSLhsl(305, 52%, 40%)
HSVhsv(305, 68%, 61%)
CMYKcmyk(0%, 68.4%, 5.8%, 39.2%)
CIE-LABlab(39.99, 55.11, -31.13)
CIE-LCHlch(39.99, 63.29, 330.54°)
OKLaboklab(50.61% 0.1574 -0.0855)
OKLCHoklch(50.61% 0.179 331.5)
XYZxyz(19.8042, 11.2420, 28.3154)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3192 #319B3A
analogous
#6F319B #9B3192 #9B315D
triadic
#9B3192 #929B31 #31929B
tetradic
#9B3192 #9B6F31 #319B3A #315D9B
square
#9B3192 #9B6F31 #319B3A #315D9B
split-complementary
#9B3192 #5D9B31 #319B6F
monochromatic
#3E143A #6D2266 #9B3192 #C445B9 #D373CB

Accessibility & contrast

On white

6.47
#9B3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9B3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3192
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3192#FFFFFF#000000##FFFFFF
##9B31921.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#51638F
Tritanopia (blue-blind)
#A13C5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b3192;
/* rgb */ color: rgb(155, 49, 146);
/* oklch */ color: oklch(50.6% 0.179 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc72b2',
    500: '#9b3192',
    950: '#000000',
  },
}
SCSS
$custom: #9b3192;
$custom-light: #bc72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3192",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 305.094,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.17914,
    "h": 331.5
  },
  "luminance": 0.11241
}

Semantic roles & 50–950 ramp

primary
#9B3192
secondary
#6DBB74
accent
#DB594C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B3192

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

Preview Lab → · Contrast checker → · Palette generator →

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