#8A137C#8A137C

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

Color values

HEX#8A137C
RGBrgb(138, 19, 124)
HSLhsl(307, 76%, 31%)
HSVhsv(307, 86%, 54%)
CMYKcmyk(0%, 86.2%, 10.1%, 45.9%)
CIE-LABlab(32.54, 57.04, -29.48)
CIE-LCHlch(32.54, 64.21, 332.67°)
OKLaboklab(44.31% 0.1658 -0.0809)
OKLCHoklch(44.31% 0.185 334)
XYZxyz(14.3524, 7.3256, 19.7230)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A137C #138A21
analogous
#5C138A #8A137C #8A1340
triadic
#8A137C #7C8A13 #137C8A
tetradic
#8A137C #8A5C13 #138A21 #13408A
square
#8A137C #8A5C13 #138A21 #13408A
split-complementary
#8A137C #408A13 #138A5C
monochromatic
#1E041B #540C4C #8A137C #C01AAC #E334CF

Accessibility & contrast

On white

8.52
#8A137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A137C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A137C#FFFFFF#000000##FFFFFF
##8A137C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427F
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#912249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a137c;
/* rgb */ color: rgb(138, 19, 124);
/* oklch */ color: oklch(44.3% 0.185 334.0);
Tailwind
colors: {
  custom: {
    50: '#b063a2',
    500: '#8a137c',
    950: '#000000',
  },
}
SCSS
$custom: #8a137c;
$custom-light: #b063a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a137c",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 307.059,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.18452,
    "h": 334
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#8A137C
secondary
#3ABE4A
accent
#F24C35
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A137C

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

Preview Lab → · Contrast checker → · Palette generator →

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