#8A5B8D#8A5B8D

#8A5B8D is a mid, moderate purple. Relative luminance 0.148; OKLCH L 54.0% C 0.094 H 324.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A5B8D
RGBrgb(138, 91, 141)
HSLhsl(296, 22%, 45%)
HSVhsv(296, 35%, 55%)
CMYKcmyk(2.1%, 35.5%, 0%, 44.7%)
CIE-LABlab(45.37, 27.97, -19.92)
CIE-LCHlch(45.37, 34.34, 324.55°)
OKLaboklab(54.03% 0.0766 -0.0542)
OKLCHoklch(54.03% 0.094 324.7)
XYZxyz(19.0296, 14.8092, 27.0502)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5B8D #5E8D5B
analogous
#715B8D #8A5B8D #8D5B77
triadic
#8A5B8D #8D8A5B #5B8D8A
tetradic
#8A5B8D #8D715B #5E8D5B #5B778D
square
#8A5B8D #8D715B #5E8D5B #5B778D
split-complementary
#8A5B8D #778D5B #5B8D71
monochromatic
#412B43 #664368 #8A5B8D #A77BAA #C0A0C2

Accessibility & contrast

On white

5.30
#8A5B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A5B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5B8D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5B8D#FFFFFF#000000##FFFFFF
##8A5B8D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57688F
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#8C606E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5b8d;
/* rgb */ color: rgb(138, 91, 141);
/* oklch */ color: oklch(54.0% 0.094 324.7);
Tailwind
colors: {
  custom: {
    50: '#ad8aae',
    500: '#8a5b8d',
    950: '#000000',
  },
}
SCSS
$custom: #8a5b8d;
$custom-light: #ad8aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5b8d",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 141
  },
  "hsl": {
    "h": 296.4,
    "s": 21.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.09381,
    "h": 324.7
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#8A5B8D
secondary
#96B094
accent
#BE6A6F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #8A5B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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