#8A5E8A#8A5E8A

#8A5E8A is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.4% C 0.085 H 326.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A5E8A
RGBrgb(138, 94, 138)
HSLhsl(300, 19%, 45%)
HSVhsv(300, 32%, 54%)
CMYKcmyk(0%, 31.9%, 0%, 45.9%)
CIE-LABlab(45.97, 25.62, -17.20)
CIE-LCHlch(45.97, 30.86, 326.12°)
OKLaboklab(54.44% 0.0709 -0.0466)
OKLCHoklch(54.44% 0.085 326.7)
XYZxyz(19.0710, 15.2443, 25.9777)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E8A #5E8A5E
analogous
#745E8A #8A5E8A #8A5E74
triadic
#8A5E8A #8A8A5E #5E8A8A
tetradic
#8A5E8A #8A745E #5E8A5E #5E748A
square
#8A5E8A #8A745E #5E8A5E #5E748A
split-complementary
#8A5E8A #748A5E #5E8A74
monochromatic
#412C41 #664566 #8A5E8A #A77EA7 #C0A2C0

Accessibility & contrast

On white

5.19
#8A5E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8A5E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E8A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E8A#FFFFFF#000000##FFFFFF
##8A5E8A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#8D626E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a5e8a;
/* rgb */ color: rgb(138, 94, 138);
/* oklch */ color: oklch(54.4% 0.085 326.7);
Tailwind
colors: {
  custom: {
    50: '#ad8cac',
    500: '#8a5e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e8a;
$custom-light: #ad8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e8a",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.08482,
    "h": 326.7
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#8A5E8A
secondary
#96AE96
accent
#BC6C6C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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