#9D388F#9D388F

#9D388F is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.168 H 333.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9D388F
RGBrgb(157, 56, 143)
HSLhsl(308, 47%, 42%)
HSVhsv(308, 64%, 62%)
CMYKcmyk(0%, 64.3%, 8.9%, 38.4%)
CIE-LABlab(41.19, 52.27, -27.40)
CIE-LCHlch(41.19, 59.02, 332.33°)
OKLaboklab(51.5% 0.151 -0.0748)
OKLCHoklch(51.5% 0.168 333.6)
XYZxyz(20.2768, 11.9812, 27.2259)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D388F #389D46
analogous
#79389D #9D388F #9D385D
triadic
#9D388F #8F9D38 #388F9D
tetradic
#9D388F #9D7938 #389D46 #385D9D
square
#9D388F #9D7938 #389D46 #385D9D
split-complementary
#9D388F #5D9D38 #389D79
monochromatic
#43183D #702866 #9D388F #C151B2 #D17EC6

Accessibility & contrast

On white

6.18
#9D388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9D388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D388F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D388F#FFFFFF#000000##FFFFFF
##9D388F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#A4405E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d388f;
/* rgb */ color: rgb(157, 56, 143);
/* oklch */ color: oklch(51.5% 0.168 333.6);
Tailwind
colors: {
  custom: {
    50: '#bd76b0',
    500: '#9d388f',
    950: '#000000',
  },
}
SCSS
$custom: #9d388f;
$custom-light: #bd76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d388f",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 308.317,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.16849,
    "h": 333.6
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#9D388F
secondary
#76BA80
accent
#D76351
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D388F

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

Preview Lab → · Contrast checker → · Palette generator →

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