#8C137C#8C137C

#8C137C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.185 H 334.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8C137C
RGBrgb(140, 19, 124)
HSLhsl(308, 76%, 31%)
HSVhsv(308, 86%, 55%)
CMYKcmyk(0%, 86.4%, 11.4%, 45.1%)
CIE-LABlab(32.91, 57.47, -28.86)
CIE-LCHlch(32.91, 64.31, 333.34°)
OKLaboklab(44.65% 0.1678 -0.0791)
OKLCHoklch(44.65% 0.186 334.8)
XYZxyz(14.6864, 7.4978, 19.7386)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137C #138C23
analogous
#5F138C #8C137C #8C133F
triadic
#8C137C #7C8C13 #137C8C
tetradic
#8C137C #8C5F13 #138C23 #133F8C
square
#8C137C #8C5F13 #138C23 #133F8C
split-complementary
#8C137C #3F8C13 #138C5F
monochromatic
#20041D #560C4C #8C137C #C21AAC #E436CD

Accessibility & contrast

On white

8.40
#8C137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8C137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C137C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137C#FFFFFF#000000##FFFFFF
##8C137C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427F
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#932149
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c137c;
/* rgb */ color: rgb(140, 19, 124);
/* oklch */ color: oklch(44.6% 0.185 334.8);
Tailwind
colors: {
  custom: {
    50: '#b264a2',
    500: '#8c137c',
    950: '#000000',
  },
}
SCSS
$custom: #8c137c;
$custom-light: #b264a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137c",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 307.934,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.1855,
    "h": 334.8
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#8C137C
secondary
#3BC04C
accent
#F34E35
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C137C

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

Preview Lab → · Contrast checker → · Palette generator →

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