#8C137B#8C137B

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

Color values

HEX#8C137B
RGBrgb(140, 19, 123)
HSLhsl(308, 76%, 31%)
HSVhsv(308, 86%, 55%)
CMYKcmyk(0%, 86.4%, 12.1%, 45.1%)
CIE-LABlab(32.86, 57.32, -28.31)
CIE-LCHlch(32.86, 63.93, 333.71°)
OKLaboklab(44.59% 0.1678 -0.0775)
OKLCHoklch(44.59% 0.185 335.2)
XYZxyz(14.6235, 7.4726, 19.4073)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137B #138C24
analogous
#60138C #8C137B #8C133E
triadic
#8C137B #7B8C13 #137B8C
tetradic
#8C137B #8C6013 #138C24 #133E8C
square
#8C137B #8C6013 #138C24 #133E8C
split-complementary
#8C137B #3E8C13 #138C60
monochromatic
#20041C #560C4C #8C137B #C21AAA #E436CB

Accessibility & contrast

On white

8.42
#8C137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C137B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137B#FFFFFF#000000##FFFFFF
##8C137B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427E
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#932049
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c137b;
/* rgb */ color: rgb(140, 19, 123);
/* oklch */ color: oklch(44.6% 0.185 335.2);
Tailwind
colors: {
  custom: {
    50: '#b264a1',
    500: '#8c137b',
    950: '#000000',
  },
}
SCSS
$custom: #8c137b;
$custom-light: #b264a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137b",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 308.43,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.18481,
    "h": 335.2
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#8C137B
secondary
#3BC04D
accent
#F35035
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8C137B

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

Preview Lab → · Contrast checker → · Palette generator →

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