#9D3D83#9D3D83

#9D3D83 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.5% C 0.152 H 339.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D3D83
RGBrgb(157, 61, 131)
HSLhsl(316, 44%, 43%)
HSVhsv(316, 61%, 62%)
CMYKcmyk(0%, 61.1%, 16.6%, 38.4%)
CIE-LABlab(41.45, 48.14, -19.68)
CIE-LCHlch(41.45, 52.00, 337.77°)
OKLaboklab(51.51% 0.1424 -0.053)
OKLCHoklch(51.51% 0.152 339.6)
XYZxyz(19.6705, 12.1459, 22.7767)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3D83 #3D9D57
analogous
#873D9D #9D3D83 #9D3D53
triadic
#9D3D83 #839D3D #3D839D
tetradic
#9D3D83 #9D873D #3D9D57 #3D539D
square
#9D3D83 #9D873D #3D9D57 #3D539D
split-complementary
#9D3D83 #539D3D #3D9D87
monochromatic
#451B39 #712C5E #9D3D83 #BE59A3 #D085BB

Accessibility & contrast

On white

6.12
#9D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9D3D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3D83
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3D83#FFFFFF#000000##FFFFFF
##9D3D831.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425885
Deuteranopia (green-blind)
#5E6781
Tritanopia (blue-blind)
#A6405A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d3d83;
/* rgb */ color: rgb(157, 61, 131);
/* oklch */ color: oklch(51.5% 0.152 339.6);
Tailwind
colors: {
  custom: {
    50: '#bd78a7',
    500: '#9d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #9d3d83;
$custom-light: #bd78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3d83",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 316.25,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.15192,
    "h": 339.6
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#9D3D83
secondary
#7CBA8D
accent
#D47754
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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