#9C388E#9C388E

#9C388E is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.167 H 333.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C388E
RGBrgb(156, 56, 142)
HSLhsl(308, 47%, 42%)
HSVhsv(308, 64%, 61%)
CMYKcmyk(0%, 64.1%, 9%, 38.8%)
CIE-LABlab(40.98, 51.84, -27.13)
CIE-LCHlch(40.98, 58.51, 332.37°)
OKLaboklab(51.3% 0.1497 -0.0741)
OKLCHoklch(51.3% 0.167 333.7)
XYZxyz(20.0070, 11.8508, 26.8196)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C388E #389C46
analogous
#78389C #9C388E #9C385C
triadic
#9C388E #8E9C38 #388E9C
tetradic
#9C388E #9C7838 #389C46 #385C9C
square
#9C388E #9C7838 #389C46 #385C9C
split-complementary
#9C388E #5C9C38 #389C78
monochromatic
#42183C #6F2865 #9C388E #C051B1 #D17EC5

Accessibility & contrast

On white

6.23
#9C388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C388E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C388E#FFFFFF#000000##FFFFFF
##9C388E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c388e;
/* rgb */ color: rgb(156, 56, 142);
/* oklch */ color: oklch(51.3% 0.167 333.7);
Tailwind
colors: {
  custom: {
    50: '#bc76af',
    500: '#9c388e',
    950: '#000000',
  },
}
SCSS
$custom: #9c388e;
$custom-light: #bc76af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c388e",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 308.4,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.16706,
    "h": 333.7
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#9C388E
secondary
#76BA7F
accent
#D76451
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C388E

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

Preview Lab → · Contrast checker → · Palette generator →

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