#9B3A8A#9B3A8A

#9B3A8A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.160 H 335.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9B3A8A
RGBrgb(155, 58, 138)
HSLhsl(311, 46%, 42%)
HSVhsv(311, 63%, 61%)
CMYKcmyk(0%, 62.6%, 11%, 39.2%)
CIE-LABlab(40.95, 50.03, -24.76)
CIE-LCHlch(40.95, 55.82, 333.67°)
OKLaboklab(51.18% 0.1455 -0.0673)
OKLCHoklch(51.18% 0.16 335.2)
XYZxyz(19.6182, 11.8312, 25.2902)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3A8A #3A9B4B
analogous
#7C3A9B #9B3A8A #9B3A5A
triadic
#9B3A8A #8A9B3A #3A8A9B
tetradic
#9B3A8A #9B7C3A #3A9B4B #3A5A9B
square
#9B3A8A #9B7C3A #3A9B4B #3A5A9B
split-complementary
#9B3A8A #5A9B3A #3A9B7C
monochromatic
#42193B #6E2962 #9B3A8A #BF53AC #CF80C2

Accessibility & contrast

On white

6.24
#9B3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9B3A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3A8A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3A8A#FFFFFF#000000##FFFFFF
##9B3A8A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#A2405C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b3a8a;
/* rgb */ color: rgb(155, 58, 138);
/* oklch */ color: oklch(51.2% 0.160 335.2);
Tailwind
colors: {
  custom: {
    50: '#bb77ac',
    500: '#9b3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b3a8a;
$custom-light: #bb77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3a8a",
  "rgb": {
    "r": 155,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 310.515,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.16032,
    "h": 335.2
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#9B3A8A
secondary
#78B983
accent
#D56953
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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