#8C137E#8C137E

#8C137E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.187 H 333.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8C137E
RGBrgb(140, 19, 126)
HSLhsl(307, 76%, 31%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 86.4%, 10%, 45.1%)
CIE-LABlab(33.03, 57.77, -29.94)
CIE-LCHlch(33.03, 65.06, 332.60°)
OKLaboklab(44.76% 0.1678 -0.0822)
OKLCHoklch(44.76% 0.187 333.9)
XYZxyz(14.8141, 7.5489, 20.4115)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C137E #138C21
analogous
#5D138C #8C137E #8C1341
triadic
#8C137E #7E8C13 #137E8C
tetradic
#8C137E #8C5D13 #138C21 #13418C
square
#8C137E #8C5D13 #138C21 #13418C
split-complementary
#8C137E #418C13 #138C5D
monochromatic
#20041D #560C4E #8C137E #C21AAE #E436D0

Accessibility & contrast

On white

8.37
#8C137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C137E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C137E#FFFFFF#000000##FFFFFF
##8C137E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#42547B
Tritanopia (blue-blind)
#93224A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c137e;
/* rgb */ color: rgb(140, 19, 126);
/* oklch */ color: oklch(44.8% 0.187 333.9);
Tailwind
colors: {
  custom: {
    50: '#b264a4',
    500: '#8c137e',
    950: '#000000',
  },
}
SCSS
$custom: #8c137e;
$custom-light: #b264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c137e",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 306.942,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.1869,
    "h": 333.9
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#8C137E
secondary
#3BC04A
accent
#F34B35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C137E

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

Preview Lab → · Contrast checker → · Palette generator →

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