#8A1584#8A1584

#8A1584 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.189 H 330.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8A1584
RGBrgb(138, 21, 132)
HSLhsl(303, 74%, 31%)
HSVhsv(303, 85%, 54%)
CMYKcmyk(0%, 84.8%, 4.3%, 45.9%)
CIE-LABlab(33.15, 57.83, -33.51)
CIE-LCHlch(33.15, 66.84, 329.91°)
OKLaboklab(44.9% 0.1645 -0.0926)
OKLCHoklch(44.9% 0.189 330.6)
XYZxyz(14.9142, 7.6068, 22.5081)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1584 #158A1B
analogous
#55158A #8A1584 #8A1549
triadic
#8A1584 #848A15 #15848A
tetradic
#8A1584 #8A5515 #158A1B #15498A
square
#8A1584 #8A5515 #158A1B #15498A
split-complementary
#8A1584 #498A15 #158A55
monochromatic
#20051E #550D51 #8A1584 #BF1DB7 #E139D8

Accessibility & contrast

On white

8.33
#8A1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1584
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1584#FFFFFF#000000##FFFFFF
##8A15841.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#90284E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1584;
/* rgb */ color: rgb(138, 21, 132);
/* oklch */ color: oklch(44.9% 0.189 330.6);
Tailwind
colors: {
  custom: {
    50: '#b064a8',
    500: '#8a1584',
    950: '#000000',
  },
}
SCSS
$custom: #8a1584;
$custom-light: #b064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1584",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 303.077,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.18877,
    "h": 330.6
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#8A1584
secondary
#3DBE43
accent
#F04138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1584

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

Preview Lab → · Contrast checker → · Palette generator →

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