#9D388D#9D388D

#9D388D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.4% C 0.167 H 334.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9D388D
RGBrgb(157, 56, 141)
HSLhsl(310, 47%, 42%)
HSVhsv(310, 64%, 62%)
CMYKcmyk(0%, 64.3%, 10.2%, 38.4%)
CIE-LABlab(41.09, 51.94, -26.34)
CIE-LCHlch(41.09, 58.24, 333.11°)
OKLaboklab(51.39% 0.1507 -0.0718)
OKLCHoklch(51.39% 0.167 334.5)
XYZxyz(20.1267, 11.9211, 26.4351)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D388D #389D48
analogous
#7B389D #9D388D #9D385B
triadic
#9D388D #8D9D38 #388D9D
tetradic
#9D388D #9D7B38 #389D48 #385B9D
square
#9D388D #9D7B38 #389D48 #385B9D
split-complementary
#9D388D #5B9D38 #389D7B
monochromatic
#43183C #702864 #9D388D #C151AF #D17EC4

Accessibility & contrast

On white

6.21
#9D388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9D388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D388D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D388D#FFFFFF#000000##FFFFFF
##9D388D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#A43F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d388d;
/* rgb */ color: rgb(157, 56, 141);
/* oklch */ color: oklch(51.4% 0.167 334.5);
Tailwind
colors: {
  custom: {
    50: '#bd76ae',
    500: '#9d388d',
    950: '#000000',
  },
}
SCSS
$custom: #9d388d;
$custom-light: #bd76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d388d",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 309.505,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.16692,
    "h": 334.5
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#9D388D
secondary
#76BA81
accent
#D76651
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D388D

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

Preview Lab → · Contrast checker → · Palette generator →

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