#9C388D#9C388D

#9C388D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.166 H 334.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9C388D
RGBrgb(156, 56, 141)
HSLhsl(309, 47%, 42%)
HSVhsv(309, 64%, 61%)
CMYKcmyk(0%, 64.1%, 9.6%, 38.8%)
CIE-LABlab(40.93, 51.67, -26.60)
CIE-LCHlch(40.93, 58.12, 332.76°)
OKLaboklab(51.25% 0.1496 -0.0726)
OKLCHoklch(51.25% 0.166 334.1)
XYZxyz(19.9323, 11.8209, 26.4260)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C388D #389C47
analogous
#79389C #9C388D #9C385B
triadic
#9C388D #8D9C38 #388D9C
tetradic
#9C388D #9C7938 #389C47 #385B9C
square
#9C388D #9C7938 #389C47 #385B9C
split-complementary
#9C388D #5B9C38 #389C79
monochromatic
#42183C #6F2864 #9C388D #C051B0 #D17EC4

Accessibility & contrast

On white

6.24
#9C388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C388D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C388D#FFFFFF#000000##FFFFFF
##9C388D1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375790
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#A33F5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c388d;
/* rgb */ color: rgb(156, 56, 141);
/* oklch */ color: oklch(51.2% 0.166 334.1);
Tailwind
colors: {
  custom: {
    50: '#bc76ae',
    500: '#9c388d',
    950: '#000000',
  },
}
SCSS
$custom: #9c388d;
$custom-light: #bc76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c388d",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 309,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.16627,
    "h": 334.1
  },
  "luminance": 0.11819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C388D

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

Preview Lab → · Contrast checker → · Palette generator →

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