#9B3F8A#9B3F8A

#9B3F8A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.153 H 335.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9B3F8A
RGBrgb(155, 63, 138)
HSLhsl(311, 42%, 43%)
HSVhsv(311, 59%, 61%)
CMYKcmyk(0%, 59.4%, 11%, 39.2%)
CIE-LABlab(41.78, 47.75, -23.46)
CIE-LCHlch(41.78, 53.20, 333.84°)
OKLaboklab(51.79% 0.1388 -0.0637)
OKLCHoklch(51.79% 0.153 335.3)
XYZxyz(19.8827, 12.3601, 25.3784)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3F8A #3F9B50
analogous
#7E3F9B #9B3F8A #9B3F5C
triadic
#9B3F8A #8A9B3F #3F8A9B
tetradic
#9B3F8A #9B7E3F #3F9B50 #3F5C9B
square
#9B3F8A #9B7E3F #3F9B50 #3F5C9B
split-complementary
#9B3F8A #5C9B3F #3F9B7E
monochromatic
#441C3D #6F2D63 #9B3F8A #BC5BAA #CE86C1

Accessibility & contrast

On white

6.05
#9B3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9B3F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3F8A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3F8A#FFFFFF#000000##FFFFFF
##9B3F8A1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#A2445E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9b3f8a;
/* rgb */ color: rgb(155, 63, 138);
/* oklch */ color: oklch(51.8% 0.153 335.3);
Tailwind
colors: {
  custom: {
    50: '#bb79ac',
    500: '#9b3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b3f8a;
$custom-light: #bb79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3f8a",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 311.087,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.15271,
    "h": 335.3
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#9B3F8A
secondary
#7DB888
accent
#D26D56
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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