#9D3D8A#9D3D8A

#9D3D8A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.8% C 0.157 H 336.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9D3D8A
RGBrgb(157, 61, 138)
HSLhsl(312, 44%, 43%)
HSVhsv(312, 61%, 62%)
CMYKcmyk(0%, 61.1%, 12.1%, 38.4%)
CIE-LABlab(41.75, 49.25, -23.48)
CIE-LCHlch(41.75, 54.56, 334.51°)
OKLaboklab(51.83% 0.1437 -0.0637)
OKLCHoklch(51.83% 0.157 336.1)
XYZxyz(20.1610, 12.3422, 25.3603)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3D8A #3D9D50
analogous
#803D9D #9D3D8A #9D3D5A
triadic
#9D3D8A #8A9D3D #3D8A9D
tetradic
#9D3D8A #9D803D #3D9D50 #3D5A9D
square
#9D3D8A #9D803D #3D9D50 #3D5A9D
split-complementary
#9D3D8A #5A9D3D #3D9D80
monochromatic
#451B3D #712C63 #9D3D8A #BE59AA #D085C1

Accessibility & contrast

On white

6.06
#9D3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D3D8A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3D8A#FFFFFF#000000##FFFFFF
##9D3D8A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#A5425E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d3d8a;
/* rgb */ color: rgb(157, 61, 138);
/* oklch */ color: oklch(51.8% 0.157 336.1);
Tailwind
colors: {
  custom: {
    50: '#bd78ac',
    500: '#9d3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d3d8a;
$custom-light: #bd78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3d8a",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 311.875,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.15721,
    "h": 336.1
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#9D3D8A
secondary
#7CBA88
accent
#D46D54
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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