#8A137F#8A137F

#8A137F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 332.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8A137F
RGBrgb(138, 19, 127)
HSLhsl(306, 76%, 31%)
HSVhsv(306, 86%, 54%)
CMYKcmyk(0%, 86.2%, 8%, 45.9%)
CIE-LABlab(32.71, 57.50, -31.09)
CIE-LCHlch(32.71, 65.37, 331.60°)
OKLaboklab(44.49% 0.1658 -0.0856)
OKLCHoklch(44.49% 0.187 332.7)
XYZxyz(14.5450, 7.4026, 20.7374)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A137F #138A1E
analogous
#59138A #8A137F #8A1343
triadic
#8A137F #7F8A13 #137F8A
tetradic
#8A137F #8A5913 #138A1E #13438A
square
#8A137F #8A5913 #138A1E #13438A
split-complementary
#8A137F #438A13 #138A59
monochromatic
#1E041C #540C4D #8A137F #C01AB1 #E334D3

Accessibility & contrast

On white

8.47
#8A137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A137F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A137F#FFFFFF#000000##FFFFFF
##8A137F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074282
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#90244B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a137f;
/* rgb */ color: rgb(138, 19, 127);
/* oklch */ color: oklch(44.5% 0.187 332.7);
Tailwind
colors: {
  custom: {
    50: '#b064a4',
    500: '#8a137f',
    950: '#000000',
  },
}
SCSS
$custom: #8a137f;
$custom-light: #b064a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a137f",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 305.546,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.18663,
    "h": 332.7
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#8A137F
secondary
#3ABE47
accent
#F24735
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A137F

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

Preview Lab → · Contrast checker → · Palette generator →

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