#8A5D84#8A5D84

#8A5D84 is a mid, moderate purple. Relative luminance 0.149; OKLCH L 54.0% C 0.081 H 331.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A5D84
RGBrgb(138, 93, 132)
HSLhsl(308, 19%, 45%)
HSVhsv(308, 33%, 54%)
CMYKcmyk(0%, 32.6%, 4.3%, 45.9%)
CIE-LABlab(45.50, 25.01, -14.32)
CIE-LCHlch(45.50, 28.82, 330.21°)
OKLaboklab(54% 0.0707 -0.0385)
OKLCHoklch(54% 0.081 331.4)
XYZxyz(18.5602, 14.8987, 23.7234)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5D84 #5D8A63
analogous
#795D8A #8A5D84 #8A5D6D
triadic
#8A5D84 #848A5D #5D848A
tetradic
#8A5D84 #8A795D #5D8A63 #5D6D8A
square
#8A5D84 #8A795D #5D8A63 #5D6D8A
split-complementary
#8A5D84 #6D8A5D #5D8A79
monochromatic
#412C3E #654461 #8A5D84 #A77DA2 #C0A1BC

Accessibility & contrast

On white

5.28
#8A5D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A5D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5D84
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5D84#FFFFFF#000000##FFFFFF
##8A5D841.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6886
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#8E606B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5d84;
/* rgb */ color: rgb(138, 93, 132);
/* oklch */ color: oklch(54.0% 0.081 331.4);
Tailwind
colors: {
  custom: {
    50: '#ad8ba7',
    500: '#8a5d84',
    950: '#000000',
  },
}
SCSS
$custom: #8a5d84;
$custom-light: #ad8ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5d84",
  "rgb": {
    "r": 138,
    "g": 93,
    "b": 132
  },
  "hsl": {
    "h": 308,
    "s": 19.481,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.08051,
    "h": 331.4
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#8A5D84
secondary
#95AE98
accent
#BC766C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5D84

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

Preview Lab → · Contrast checker → · Palette generator →

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