#8A1884#8A1884

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

Color values

HEX#8A1884
RGBrgb(138, 24, 132)
HSLhsl(303, 70%, 32%)
HSVhsv(303, 83%, 54%)
CMYKcmyk(0%, 82.6%, 4.3%, 45.9%)
CIE-LABlab(33.40, 57.10, -33.12)
CIE-LCHlch(33.40, 66.01, 329.89°)
OKLaboklab(45.07% 0.1624 -0.0915)
OKLCHoklch(45.07% 0.186 330.6)
XYZxyz(14.9727, 7.7237, 22.5276)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1884 #188A1E
analogous
#57188A #8A1884 #8A184B
triadic
#8A1884 #848A18 #18848A
tetradic
#8A1884 #8A5718 #188A1E #184B8A
square
#8A1884 #8A5718 #188A1E #184B8A
split-complementary
#8A1884 #4B8A18 #188A57
monochromatic
#220620 #560F52 #8A1884 #BE21B6 #DE3FD5

Accessibility & contrast

On white

8.25
#8A1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1884
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1884#FFFFFF#000000##FFFFFF
##8A18841.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#3E5481
Tritanopia (blue-blind)
#90294F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a1884;
/* rgb */ color: rgb(138, 24, 132);
/* oklch */ color: oklch(45.1% 0.186 330.6);
Tailwind
colors: {
  custom: {
    50: '#b065a8',
    500: '#8a1884',
    950: '#000000',
  },
}
SCSS
$custom: #8a1884;
$custom-light: #b065a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1884",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 303.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45073,
    "c": 0.18639,
    "h": 330.6
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#8A1884
secondary
#40BD47
accent
#ED443B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8A1884

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

Preview Lab → · Contrast checker → · Palette generator →

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