#8C137F#8C137F

#8C137F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 333.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8C137F
RGBrgb(140, 19, 127)
HSLhsl(306, 76%, 31%)
HSVhsv(306, 86%, 55%)
CMYKcmyk(0%, 86.4%, 9.3%, 45.1%)
CIE-LABlab(33.08, 57.92, -30.48)
CIE-LCHlch(33.08, 65.45, 332.25°)
OKLaboklab(44.82% 0.1679 -0.0838)
OKLCHoklch(44.82% 0.188 333.5)
XYZxyz(14.8790, 7.5748, 20.7530)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137F #138C20
analogous
#5C138C #8C137F #8C1342
triadic
#8C137F #7F8C13 #137F8C
tetradic
#8C137F #8C5C13 #138C20 #13428C
square
#8C137F #8C5C13 #138C20 #13428C
split-complementary
#8C137F #428C13 #138C5C
monochromatic
#20041D #560C4E #8C137F #C21AB0 #E436D1

Accessibility & contrast

On white

8.35
#8C137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8C137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C137F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137F#FFFFFF#000000##FFFFFF
##8C137F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4382
Deuteranopia (green-blind)
#41547C
Tritanopia (blue-blind)
#93234B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c137f;
/* rgb */ color: rgb(140, 19, 127);
/* oklch */ color: oklch(44.8% 0.188 333.5);
Tailwind
colors: {
  custom: {
    50: '#b264a4',
    500: '#8c137f',
    950: '#000000',
  },
}
SCSS
$custom: #8c137f;
$custom-light: #b264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137f",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 306.446,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.1876,
    "h": 333.5
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

primary
#8C137F
secondary
#3BC049
accent
#F34935
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C137F

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

Preview Lab → · Contrast checker → · Palette generator →

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