#9D3C8A#9D3C8A

#9D3C8A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.159 H 336.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9D3C8A
RGBrgb(157, 60, 138)
HSLhsl(312, 45%, 43%)
HSVhsv(312, 62%, 62%)
CMYKcmyk(0%, 61.8%, 12.1%, 38.4%)
CIE-LABlab(41.59, 49.70, -23.73)
CIE-LCHlch(41.59, 55.08, 334.47°)
OKLaboklab(51.71% 0.1451 -0.0644)
OKLCHoklch(51.71% 0.159 336.1)
XYZxyz(20.1081, 12.2364, 25.3426)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3C8A #3C9D4F
analogous
#803C9D #9D3C8A #9D3C59
triadic
#9D3C8A #8A9D3C #3C8A9D
tetradic
#9D3C8A #9D803C #3C9D4F #3C599D
square
#9D3C8A #9D803C #3C9D4F #3C599D
split-complementary
#9D3C8A #599D3C #3C9D80
monochromatic
#441A3C #712B63 #9D3C8A #BF57AB #D084C1

Accessibility & contrast

On white

6.09
#9D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9D3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3C8A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3C8A#FFFFFF#000000##FFFFFF
##9D3C8A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#A5415D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d3c8a;
/* rgb */ color: rgb(157, 60, 138);
/* oklch */ color: oklch(51.7% 0.159 336.1);
Tailwind
colors: {
  custom: {
    50: '#bd78ac',
    500: '#9d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d3c8a;
$custom-light: #bd78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3c8a",
  "rgb": {
    "r": 157,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 311.753,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.15872,
    "h": 336.1
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#9D3C8A
secondary
#7BBA87
accent
#D46D53
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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