#9D388E#9D388E

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

Color values

HEX#9D388E
RGBrgb(157, 56, 142)
HSLhsl(309, 47%, 42%)
HSVhsv(309, 64%, 62%)
CMYKcmyk(0%, 64.3%, 9.6%, 38.4%)
CIE-LABlab(41.14, 52.10, -26.87)
CIE-LCHlch(41.14, 58.63, 332.72°)
OKLaboklab(51.44% 0.1508 -0.0733)
OKLCHoklch(51.44% 0.168 334.1)
XYZxyz(20.2014, 11.9510, 26.8287)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D388E #389D47
analogous
#7A389D #9D388E #9D385C
triadic
#9D388E #8E9D38 #388E9D
tetradic
#9D388E #9D7A38 #389D47 #385C9D
square
#9D388E #9D7A38 #389D47 #385C9D
split-complementary
#9D388E #5C9D38 #389D7A
monochromatic
#43183C #702865 #9D388E #C151B0 #D17EC5

Accessibility & contrast

On white

6.20
#9D388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9D388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D388E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D388E#FFFFFF#000000##FFFFFF
##9D388E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#A43F5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d388e;
/* rgb */ color: rgb(157, 56, 142);
/* oklch */ color: oklch(51.4% 0.168 334.1);
Tailwind
colors: {
  custom: {
    50: '#bd76af',
    500: '#9d388e',
    950: '#000000',
  },
}
SCSS
$custom: #9d388e;
$custom-light: #bd76af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d388e",
  "rgb": {
    "r": 157,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 308.911,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.16771,
    "h": 334.1
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D388E

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

Preview Lab → · Contrast checker → · Palette generator →

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