#8C137D#8C137D

#8C137D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.186 H 334.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8C137D
RGBrgb(140, 19, 125)
HSLhsl(307, 76%, 31%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 86.4%, 10.7%, 45.1%)
CIE-LABlab(32.97, 57.62, -29.40)
CIE-LCHlch(32.97, 64.68, 332.97°)
OKLaboklab(44.71% 0.1678 -0.0807)
OKLCHoklch(44.71% 0.186 334.3)
XYZxyz(14.7499, 7.5232, 20.0734)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137D #138C22
analogous
#5E138C #8C137D #8C1340
triadic
#8C137D #7D8C13 #137D8C
tetradic
#8C137D #8C5E13 #138C22 #13408C
square
#8C137D #8C5E13 #138C22 #13408C
split-complementary
#8C137D #408C13 #138C5E
monochromatic
#20041D #560C4D #8C137D #C21AAD #E436CE

Accessibility & contrast

On white

8.39
#8C137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C137D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137D#FFFFFF#000000##FFFFFF
##8C137D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#93224A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c137d;
/* rgb */ color: rgb(140, 19, 125);
/* oklch */ color: oklch(44.7% 0.186 334.3);
Tailwind
colors: {
  custom: {
    50: '#b264a3',
    500: '#8c137d',
    950: '#000000',
  },
}
SCSS
$custom: #8c137d;
$custom-light: #b264a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137d",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 307.438,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.1862,
    "h": 334.3
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#8C137D
secondary
#3BC04B
accent
#F34D35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C137D

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

Preview Lab → · Contrast checker → · Palette generator →

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