#8A1583#8A1583

#8A1583 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 331.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8A1583
RGBrgb(138, 21, 131)
HSLhsl(304, 74%, 31%)
HSVhsv(304, 85%, 54%)
CMYKcmyk(0%, 84.8%, 5.1%, 45.9%)
CIE-LABlab(33.09, 57.67, -32.98)
CIE-LCHlch(33.09, 66.44, 330.23°)
OKLaboklab(44.83% 0.1645 -0.0911)
OKLCHoklch(44.83% 0.188 331)
XYZxyz(14.8461, 7.5795, 22.1494)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1583 #158A1C
analogous
#56158A #8A1583 #8A1548
triadic
#8A1583 #838A15 #15838A
tetradic
#8A1583 #8A5615 #158A1C #15488A
square
#8A1583 #8A5615 #158A1C #15488A
split-complementary
#8A1583 #488A15 #158A56
monochromatic
#20051E #550D51 #8A1583 #BF1DB5 #E139D7

Accessibility & contrast

On white

8.35
#8A1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1583
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1583#FFFFFF#000000##FFFFFF
##8A15831.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#3E5380
Tritanopia (blue-blind)
#90274E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1583;
/* rgb */ color: rgb(138, 21, 131);
/* oklch */ color: oklch(44.8% 0.188 331.0);
Tailwind
colors: {
  custom: {
    50: '#b064a7',
    500: '#8a1583',
    950: '#000000',
  },
}
SCSS
$custom: #8a1583;
$custom-light: #b064a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1583",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 303.59,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.18804,
    "h": 331
  },
  "luminance": 0.07578
}

Semantic roles & 50–950 ramp

primary
#8A1583
secondary
#3DBE45
accent
#F04338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A1583

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

Preview Lab → · Contrast checker → · Palette generator →

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