#8C137A#8C137A

#8C137A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.184 H 335.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8C137A
RGBrgb(140, 19, 122)
HSLhsl(309, 76%, 31%)
HSVhsv(309, 86%, 55%)
CMYKcmyk(0%, 86.4%, 12.9%, 45.1%)
CIE-LABlab(32.81, 57.17, -27.77)
CIE-LCHlch(32.81, 63.56, 334.09°)
OKLaboklab(44.54% 0.1677 -0.076)
OKLCHoklch(44.54% 0.184 335.6)
XYZxyz(14.5612, 7.4477, 19.0793)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137A #138C25
analogous
#61138C #8C137A #8C133D
triadic
#8C137A #7A8C13 #137A8C
tetradic
#8C137A #8C6113 #138C25 #133D8C
square
#8C137A #8C6113 #138C25 #133D8C
split-complementary
#8C137A #3D8C13 #138C61
monochromatic
#20041C #560C4B #8C137A #C21AA9 #E436CA

Accessibility & contrast

On white

8.44
#8C137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8C137A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C137A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137A#FFFFFF#000000##FFFFFF
##8C137A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#942048
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c137a;
/* rgb */ color: rgb(140, 19, 122);
/* oklch */ color: oklch(44.5% 0.184 335.6);
Tailwind
colors: {
  custom: {
    50: '#b264a1',
    500: '#8c137a',
    950: '#000000',
  },
}
SCSS
$custom: #8c137a;
$custom-light: #b264a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137a",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 308.926,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.18413,
    "h": 335.6
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#8C137A
secondary
#3BC04E
accent
#F35135
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8C137A

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

Preview Lab → · Contrast checker → · Palette generator →

#8C137A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva