#8A1D84#8A1D84

#8A1D84 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.182 H 330.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A1D84
RGBrgb(138, 29, 132)
HSLhsl(303, 65%, 33%)
HSVhsv(303, 79%, 54%)
CMYKcmyk(0%, 79%, 4.3%, 45.9%)
CIE-LABlab(33.88, 55.73, -32.36)
CIE-LCHlch(33.88, 64.44, 329.86°)
OKLaboklab(45.41% 0.1584 -0.0893)
OKLCHoklch(45.41% 0.182 330.6)
XYZxyz(15.0854, 7.9492, 22.5651)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D84 #1D8A23
analogous
#5A1D8A #8A1D84 #8A1D4D
triadic
#8A1D84 #848A1D #1D848A
tetradic
#8A1D84 #8A5A1D #1D8A23 #1D4D8A
square
#8A1D84 #8A5A1D #1D8A23 #1D4D8A
split-complementary
#8A1D84 #4D8A1D #1D8A5A
monochromatic
#250823 #571254 #8A1D84 #BD28B4 #D949D1

Accessibility & contrast

On white

8.11
#8A1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D84
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D84#FFFFFF#000000##FFFFFF
##8A1D841.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4687
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#902C50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1d84;
/* rgb */ color: rgb(138, 29, 132);
/* oklch */ color: oklch(45.4% 0.182 330.6);
Tailwind
colors: {
  custom: {
    50: '#b067a8',
    500: '#8a1d84',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d84;
$custom-light: #b067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d84",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 303.303,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45412,
    "c": 0.18187,
    "h": 330.6
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#8A1D84
secondary
#48BB4E
accent
#E84940
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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