#8A137A#8A137A

#8A137A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.183 H 334.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A137A
RGBrgb(138, 19, 122)
HSLhsl(308, 76%, 31%)
HSVhsv(308, 86%, 54%)
CMYKcmyk(0%, 86.2%, 11.6%, 45.9%)
CIE-LABlab(32.43, 56.75, -28.39)
CIE-LCHlch(32.43, 63.45, 333.42°)
OKLaboklab(44.2% 0.1658 -0.0778)
OKLCHoklch(44.2% 0.183 334.9)
XYZxyz(14.2272, 7.2755, 19.0636)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A137A #138A23
analogous
#5E138A #8A137A #8A133E
triadic
#8A137A #7A8A13 #137A8A
tetradic
#8A137A #8A5E13 #138A23 #133E8A
square
#8A137A #8A5E13 #138A23 #133E8A
split-complementary
#8A137A #3E8A13 #138A5E
monochromatic
#1E041B #540C4A #8A137A #C01AAA #E334CC

Accessibility & contrast

On white

8.55
#8A137A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A137A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A137A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A137A#FFFFFF#000000##FFFFFF
##8A137A1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417D
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#912148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a137a;
/* rgb */ color: rgb(138, 19, 122);
/* oklch */ color: oklch(44.2% 0.183 334.9);
Tailwind
colors: {
  custom: {
    50: '#b063a1',
    500: '#8a137a',
    950: '#000000',
  },
}
SCSS
$custom: #8a137a;
$custom-light: #b063a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a137a",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 122
  },
  "hsl": {
    "h": 308.067,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.18313,
    "h": 334.9
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#8A137A
secondary
#3ABE4C
accent
#F24F35
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8A137A

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

Preview Lab → · Contrast checker → · Palette generator →

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