#9B3286#9B3286

#9B3286 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 336.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9B3286
RGBrgb(155, 50, 134)
HSLhsl(312, 51%, 40%)
HSVhsv(312, 68%, 61%)
CMYKcmyk(0%, 67.7%, 13.5%, 39.2%)
CIE-LABlab(39.53, 52.78, -24.51)
CIE-LCHlch(39.53, 58.20, 335.10°)
OKLaboklab(50.09% 0.1549 -0.0666)
OKLCHoklch(50.09% 0.169 336.7)
XYZxyz(18.9615, 10.9726, 23.6689)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3286 #329B47
analogous
#7B329B #9B3286 #9B3251
triadic
#9B3286 #869B32 #32869B
tetradic
#9B3286 #9B7B32 #329B47 #32519B
square
#9B3286 #9B7B32 #329B47 #32519B
split-complementary
#9B3286 #519B32 #329B7B
monochromatic
#3E1436 #6D235E #9B3286 #C447AB #D275C0

Accessibility & contrast

On white

6.57
#9B3286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9B3286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3286
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3286#FFFFFF#000000##FFFFFF
##9B32861.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#A33857
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3286;
/* rgb */ color: rgb(155, 50, 134);
/* oklch */ color: oklch(50.1% 0.169 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc72a9',
    500: '#9b3286',
    950: '#000000',
  },
}
SCSS
$custom: #9b3286;
$custom-light: #bc72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3286",
  "rgb": {
    "r": 155,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 312,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.1686,
    "h": 336.7
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#9B3286
secondary
#6EBB7D
accent
#DB694D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B3286

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

Preview Lab → · Contrast checker → · Palette generator →

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