#9B3196#9B3196

#9B3196 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.182 H 329.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9B3196
RGBrgb(155, 49, 150)
HSLhsl(303, 52%, 40%)
HSVhsv(303, 68%, 61%)
CMYKcmyk(0%, 68.4%, 3.2%, 39.2%)
CIE-LABlab(40.19, 55.77, -33.23)
CIE-LCHlch(40.19, 64.92, 329.21°)
OKLaboklab(50.83% 0.1577 -0.0916)
OKLCHoklch(50.83% 0.182 329.8)
XYZxyz(20.1208, 11.3687, 29.9829)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3196 #319B36
analogous
#6B319B #9B3196 #9B3161
triadic
#9B3196 #969B31 #31969B
tetradic
#9B3196 #9B6B31 #319B36 #31619B
square
#9B3196 #9B6B31 #319B36 #31619B
split-complementary
#9B3196 #619B31 #319B6B
monochromatic
#3E143C #6D2269 #9B3196 #C445BE #D373CE

Accessibility & contrast

On white

6.42
#9B3196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9B3196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3196
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3196#FFFFFF#000000##FFFFFF
##9B31961.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A13E5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b3196;
/* rgb */ color: rgb(155, 49, 150);
/* oklch */ color: oklch(50.8% 0.182 329.8);
Tailwind
colors: {
  custom: {
    50: '#bc72b5',
    500: '#9b3196',
    950: '#000000',
  },
}
SCSS
$custom: #9b3196;
$custom-light: #bc72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3196",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 302.83,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.18233,
    "h": 329.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#9B3196
secondary
#6DBB71
accent
#DB534C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B3196

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

Preview Lab → · Contrast checker → · Palette generator →

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