#9C3E8A#9C3E8A

#9C3E8A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.8% C 0.155 H 335.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9C3E8A
RGBrgb(156, 62, 138)
HSLhsl(311, 43%, 43%)
HSVhsv(311, 60%, 61%)
CMYKcmyk(0%, 60.3%, 11.5%, 38.8%)
CIE-LABlab(41.77, 48.50, -23.47)
CIE-LCHlch(41.77, 53.88, 334.18°)
OKLaboklab(51.81% 0.1413 -0.0637)
OKLCHoklch(51.81% 0.155 335.7)
XYZxyz(20.0205, 12.3497, 25.3691)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3E8A #3E9C50
analogous
#7F3E9C #9C3E8A #9C3E5B
triadic
#9C3E8A #8A9C3E #3E8A9C
tetradic
#9C3E8A #9C7F3E #3E9C50 #3E5B9C
square
#9C3E8A #9C7F3E #3E9C50 #3E5B9C
split-complementary
#9C3E8A #5B9C3E #3E9C7F
monochromatic
#441B3D #702D63 #9C3E8A #BD5AAA #CF86C1

Accessibility & contrast

On white

6.05
#9C3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9C3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3E8A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3E8A#FFFFFF#000000##FFFFFF
##9C3E8A1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#A3435E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9c3e8a;
/* rgb */ color: rgb(156, 62, 138);
/* oklch */ color: oklch(51.8% 0.155 335.7);
Tailwind
colors: {
  custom: {
    50: '#bc79ac',
    500: '#9c3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c3e8a;
$custom-light: #bc79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3e8a",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 311.489,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.15497,
    "h": 335.7
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#9C3E8A
secondary
#7DB988
accent
#D36D55
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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