#8A4084#8A4084

#8A4084 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.2% C 0.134 H 330.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4084
RGBrgb(138, 64, 132)
HSLhsl(305, 37%, 40%)
HSVhsv(305, 54%, 54%)
CMYKcmyk(0%, 53.6%, 4.3%, 45.9%)
CIE-LABlab(39.13, 41.16, -24.10)
CIE-LCHlch(39.13, 47.70, 329.65°)
OKLaboklab(49.23% 0.1166 -0.0659)
OKLCHoklch(49.23% 0.134 330.5)
XYZxyz(16.4794, 10.7370, 23.0298)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4084 #408A46
analogous
#6B408A #8A4084 #8A405F
triadic
#8A4084 #848A40 #40848A
tetradic
#8A4084 #8A6B40 #408A46 #405F8A
square
#8A4084 #8A6B40 #408A46 #405F8A
split-complementary
#8A4084 #5F8A40 #408A6B
monochromatic
#361934 #602D5C #8A4084 #B156A9 #C480BF

Accessibility & contrast

On white

6.67
#8A4084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A4084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4084
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4084#FFFFFF#000000##FFFFFF
##8A40841.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#526082
Tritanopia (blue-blind)
#8F465C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4084;
/* rgb */ color: rgb(138, 64, 132);
/* oklch */ color: oklch(49.2% 0.134 330.5);
Tailwind
colors: {
  custom: {
    50: '#ae78a8',
    500: '#8a4084',
    950: '#000000',
  },
}
SCSS
$custom: #8a4084;
$custom-light: #ae78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4084",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 304.865,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49232,
    "c": 0.1339,
    "h": 330.5
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#8A4084
secondary
#77AF7C
accent
#CD645B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4084

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

Preview Lab → · Contrast checker → · Palette generator →

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