#8A1984#8A1984

#8A1984 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.186 H 330.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1984
RGBrgb(138, 25, 132)
HSLhsl(303, 69%, 32%)
HSVhsv(303, 82%, 54%)
CMYKcmyk(0%, 81.9%, 4.3%, 45.9%)
CIE-LABlab(33.49, 56.84, -32.97)
CIE-LCHlch(33.49, 65.72, 329.88°)
OKLaboklab(45.14% 0.1616 -0.0911)
OKLCHoklch(45.14% 0.186 330.6)
XYZxyz(14.9937, 7.7657, 22.5346)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1984 #198A1F
analogous
#58198A #8A1984 #8A194C
triadic
#8A1984 #848A19 #19848A
tetradic
#8A1984 #8A5819 #198A1F #194C8A
square
#8A1984 #8A5819 #198A1F #194C8A
split-complementary
#8A1984 #4C8A19 #198A58
monochromatic
#220621 #561052 #8A1984 #BE22B6 #DD41D4

Accessibility & contrast

On white

8.23
#8A1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1984
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1984#FFFFFF#000000##FFFFFF
##8A19841.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054587
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#902A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1984;
/* rgb */ color: rgb(138, 25, 132);
/* oklch */ color: oklch(45.1% 0.186 330.6);
Tailwind
colors: {
  custom: {
    50: '#b066a8',
    500: '#8a1984',
    950: '#000000',
  },
}
SCSS
$custom: #8a1984;
$custom-light: #b066a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1984",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 303.186,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.18554,
    "h": 330.6
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#8A1984
secondary
#42BD48
accent
#EC453C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1984

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

Preview Lab → · Contrast checker → · Palette generator →

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