#8A1377#8A1377

#8A1377 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.181 H 336.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8A1377
RGBrgb(138, 19, 119)
HSLhsl(310, 76%, 31%)
HSVhsv(310, 86%, 54%)
CMYKcmyk(0%, 86.2%, 13.8%, 45.9%)
CIE-LABlab(32.26, 56.30, -26.76)
CIE-LCHlch(32.26, 62.34, 334.58°)
OKLaboklab(44.03% 0.1656 -0.0731)
OKLCHoklch(44.03% 0.181 336.2)
XYZxyz(14.0441, 7.2023, 18.0997)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1377 #138A26
analogous
#61138A #8A1377 #8A133B
triadic
#8A1377 #778A13 #13778A
tetradic
#8A1377 #8A6113 #138A26 #133B8A
square
#8A1377 #8A6113 #138A26 #133B8A
split-complementary
#8A1377 #3B8A13 #138A61
monochromatic
#1E041A #540C49 #8A1377 #C01AA5 #E334C7

Accessibility & contrast

On white

8.61
#8A1377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1377
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1377#FFFFFF#000000##FFFFFF
##8A13771.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#435274
Tritanopia (blue-blind)
#921F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1377;
/* rgb */ color: rgb(138, 19, 119);
/* oklch */ color: oklch(44.0% 0.181 336.2);
Tailwind
colors: {
  custom: {
    50: '#b0639e',
    500: '#8a1377',
    950: '#000000',
  },
}
SCSS
$custom: #8a1377;
$custom-light: #b0639e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1377",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 309.58,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44027,
    "c": 0.18105,
    "h": 336.2
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#8A1377
secondary
#3ABE4F
accent
#F25435
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1377

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

Preview Lab → · Contrast checker → · Palette generator →

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