#9B3296#9B3296

#9B3296 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.181 H 329.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9B3296
RGBrgb(155, 50, 150)
HSLhsl(303, 51%, 40%)
HSVhsv(303, 68%, 61%)
CMYKcmyk(0%, 67.7%, 3.2%, 39.2%)
CIE-LABlab(40.33, 55.38, -33.01)
CIE-LCHlch(40.33, 64.48, 329.20°)
OKLaboklab(50.93% 0.1565 -0.091)
OKLCHoklch(50.93% 0.181 329.8)
XYZxyz(20.1631, 11.4532, 29.9970)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3296 #329B37
analogous
#6B329B #9B3296 #9B3262
triadic
#9B3296 #969B32 #32969B
tetradic
#9B3296 #9B6B32 #329B37 #32629B
square
#9B3296 #9B6B32 #329B37 #32629B
split-complementary
#9B3296 #629B32 #329B6B
monochromatic
#3E143C #6D2369 #9B3296 #C447BE #D275CE

Accessibility & contrast

On white

6.38
#9B3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3296
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3296#FFFFFF#000000##FFFFFF
##9B32961.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b3296;
/* rgb */ color: rgb(155, 50, 150);
/* oklch */ color: oklch(50.9% 0.181 329.8);
Tailwind
colors: {
  custom: {
    50: '#bc73b5',
    500: '#9b3296',
    950: '#000000',
  },
}
SCSS
$custom: #9b3296;
$custom-light: #bc73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3296",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 302.857,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.18105,
    "h": 329.8
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#9B3296
secondary
#6EBB72
accent
#DB544D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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