#8A1382#8A1382

#8A1382 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.189 H 331.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8A1382
RGBrgb(138, 19, 130)
HSLhsl(304, 76%, 31%)
HSVhsv(304, 86%, 54%)
CMYKcmyk(0%, 86.2%, 5.8%, 45.9%)
CIE-LABlab(32.88, 57.96, -32.70)
CIE-LCHlch(32.88, 66.55, 330.57°)
OKLaboklab(44.67% 0.1658 -0.0902)
OKLCHoklch(44.67% 0.189 331.4)
XYZxyz(14.7434, 7.4820, 21.7824)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1382 #138A1B
analogous
#56138A #8A1382 #8A1346
triadic
#8A1382 #828A13 #13828A
tetradic
#8A1382 #8A5613 #138A1B #13468A
square
#8A1382 #8A5613 #138A1B #13468A
split-complementary
#8A1382 #468A13 #138A56
monochromatic
#1E041D #540C4F #8A1382 #C01AB5 #E334D7

Accessibility & contrast

On white

8.41
#8A1382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1382
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1382#FFFFFF#000000##FFFFFF
##8A13821.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#3E537F
Tritanopia (blue-blind)
#90264D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1382;
/* rgb */ color: rgb(138, 19, 130);
/* oklch */ color: oklch(44.7% 0.189 331.4);
Tailwind
colors: {
  custom: {
    50: '#b064a7',
    500: '#8a1382',
    950: '#000000',
  },
}
SCSS
$custom: #8a1382;
$custom-light: #b064a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1382",
  "rgb": {
    "r": 138,
    "g": 19,
    "b": 130
  },
  "hsl": {
    "h": 304.034,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.18878,
    "h": 331.4
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#8A1382
secondary
#3ABE43
accent
#F24235
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1382

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

Preview Lab → · Contrast checker → · Palette generator →

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