#9C388F#9C388F

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

Color values

HEX#9C388F
RGBrgb(156, 56, 143)
HSLhsl(308, 47%, 42%)
HSVhsv(308, 64%, 61%)
CMYKcmyk(0%, 64.1%, 8.3%, 38.8%)
CIE-LABlab(41.03, 52.00, -27.66)
CIE-LCHlch(41.03, 58.90, 331.99°)
OKLaboklab(51.35% 0.1499 -0.0756)
OKLCHoklch(51.35% 0.168 333.2)
XYZxyz(20.0825, 11.8810, 27.2168)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C388F #389C45
analogous
#77389C #9C388F #9C385D
triadic
#9C388F #8F9C38 #388F9C
tetradic
#9C388F #9C7738 #389C45 #385D9C
square
#9C388F #9C7738 #389C45 #385D9C
split-complementary
#9C388F #5D9C38 #389C77
monochromatic
#42183C #6F2866 #9C388F #C051B2 #D17EC6

Accessibility & contrast

On white

6.22
#9C388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C388F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C388F#FFFFFF#000000##FFFFFF
##9C388F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355792
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#A3405E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c388f;
/* rgb */ color: rgb(156, 56, 143);
/* oklch */ color: oklch(51.3% 0.168 333.2);
Tailwind
colors: {
  custom: {
    50: '#bc76b0',
    500: '#9c388f',
    950: '#000000',
  },
}
SCSS
$custom: #9c388f;
$custom-light: #bc76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c388f",
  "rgb": {
    "r": 156,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 307.8,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.16785,
    "h": 333.2
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C388F

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

Preview Lab → · Contrast checker → · Palette generator →

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