#8A137D#8A137D

#8A137D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.185 H 333.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8A137D
RGBrgb(138, 19, 125)
HSLhsl(307, 76%, 31%)
HSVhsv(307, 86%, 54%)
CMYKcmyk(0%, 86.2%, 9.4%, 45.9%)
CIE-LABlab(32.59, 57.20, -30.02)
CIE-LCHlch(32.59, 64.59, 332.31°)
OKLaboklab(44.37% 0.1658 -0.0825)
OKLCHoklch(44.37% 0.185 333.5)
XYZxyz(14.4159, 7.3510, 20.0577)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A137D #138A20
analogous
#5B138A #8A137D #8A1341
triadic
#8A137D #7D8A13 #137D8A
tetradic
#8A137D #8A5B13 #138A20 #13418A
square
#8A137D #8A5B13 #138A20 #13418A
split-complementary
#8A137D #418A13 #138A5B
monochromatic
#1E041C #540C4C #8A137D #C01AAE #E334D0

Accessibility & contrast

On white

8.50
#8A137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A137D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A137D#FFFFFF#000000##FFFFFF
##8A137D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#41527A
Tritanopia (blue-blind)
#91234A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a137d;
/* rgb */ color: rgb(138, 19, 125);
/* oklch */ color: oklch(44.4% 0.185 333.5);
Tailwind
colors: {
  custom: {
    50: '#b063a3',
    500: '#8a137d',
    950: '#000000',
  },
}
SCSS
$custom: #8a137d;
$custom-light: #b063a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a137d",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 306.555,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44369,
    "c": 0.18522,
    "h": 333.5
  },
  "luminance": 0.0735
}

Semantic roles & 50–950 ramp

primary
#8A137D
secondary
#3ABE49
accent
#F24A35
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A137D

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

Preview Lab → · Contrast checker → · Palette generator →

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