#8A5084#8A5084

#8A5084 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.7% C 0.105 H 330.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A5084
RGBrgb(138, 80, 132)
HSLhsl(306, 27%, 43%)
HSVhsv(306, 42%, 54%)
CMYKcmyk(0%, 42%, 4.3%, 45.9%)
CIE-LABlab(42.47, 32.49, -18.94)
CIE-LCHlch(42.47, 37.61, 329.76°)
OKLaboklab(51.72% 0.0919 -0.0514)
OKLCHoklch(51.72% 0.105 330.8)
XYZxyz(17.5146, 12.8074, 23.3749)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5084 #508A56
analogous
#73508A #8A5084 #8A5067
triadic
#8A5084 #848A50 #50848A
tetradic
#8A5084 #8A7350 #508A56 #50678A
square
#8A5084 #8A7350 #508A56 #50678A
split-complementary
#8A5084 #678A50 #508A73
monochromatic
#3D233A #633A5F #8A5084 #AA6DA4 #C194BC

Accessibility & contrast

On white

5.90
#8A5084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A5084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5084
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5084#FFFFFF#000000##FFFFFF
##8A50841.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F86
Deuteranopia (green-blind)
#5D6782
Tritanopia (blue-blind)
#8E5464
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5084;
/* rgb */ color: rgb(138, 80, 132);
/* oklch */ color: oklch(51.7% 0.105 330.8);
Tailwind
colors: {
  custom: {
    50: '#ad82a8',
    500: '#8a5084',
    950: '#000000',
  },
}
SCSS
$custom: #8a5084;
$custom-light: #ad82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5084",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 306.207,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.10526,
    "h": 330.8
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#8A5084
secondary
#88AE8C
accent
#C36F65
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5084

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

Preview Lab → · Contrast checker → · Palette generator →

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