#8D137E#8D137E

#8D137E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.187 H 334.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8D137E
RGBrgb(141, 19, 126)
HSLhsl(307, 76%, 31%)
HSVhsv(307, 87%, 55%)
CMYKcmyk(0%, 86.5%, 10.6%, 44.7%)
CIE-LABlab(33.21, 57.98, -29.63)
CIE-LCHlch(33.21, 65.11, 332.93°)
OKLaboklab(44.93% 0.1688 -0.0813)
OKLCHoklch(44.93% 0.187 334.3)
XYZxyz(14.9835, 7.6362, 20.4194)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D137E #138D22
analogous
#5F138D #8D137E #8D1341
triadic
#8D137E #7E8D13 #137E8D
tetradic
#8D137E #8D5F13 #138D22 #13418D
square
#8D137E #8D5F13 #138D22 #13418D
split-complementary
#8D137E #418D13 #138D5F
monochromatic
#21041E #570C4E #8D137E #C31AAE #E436CF

Accessibility & contrast

On white

8.31
#8D137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D137E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D137E#FFFFFF#000000##FFFFFF
##8D137E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4381
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#94224A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d137e;
/* rgb */ color: rgb(141, 19, 126);
/* oklch */ color: oklch(44.9% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#b264a4',
    500: '#8d137e',
    950: '#000000',
  },
}
SCSS
$custom: #8d137e;
$custom-light: #b264a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d137e",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 307.377,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.18739,
    "h": 334.3
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#8D137E
secondary
#3BC14B
accent
#F34C35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D137E

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

Preview Lab → · Contrast checker → · Palette generator →

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