#8A5B83#8A5B83

#8A5B83 is a mid, moderate purple. Relative luminance 0.145; OKLCH L 53.6% C 0.083 H 332.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A5B83
RGBrgb(138, 91, 131)
HSLhsl(309, 21%, 45%)
HSVhsv(309, 34%, 54%)
CMYKcmyk(0%, 34.1%, 5.1%, 45.9%)
CIE-LABlab(44.98, 25.99, -14.51)
CIE-LCHlch(44.98, 29.76, 330.83°)
OKLaboklab(53.6% 0.0737 -0.039)
OKLCHoklch(53.6% 0.083 332.1)
XYZxyz(18.3188, 14.5249, 23.3070)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5B83 #5B8A62
analogous
#795B8A #8A5B83 #8A5B6C
triadic
#8A5B83 #838A5B #5B838A
tetradic
#8A5B83 #8A795B #5B8A62 #5B6C8A
square
#8A5B83 #8A795B #5B8A62 #5B6C8A
split-complementary
#8A5B83 #6C8A5B #5B8A79
monochromatic
#402A3D #654360 #8A5B83 #A87BA1 #C09FBB

Accessibility & contrast

On white

5.38
#8A5B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8A5B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5B83
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5B83#FFFFFF#000000##FFFFFF
##8A5B831.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6685
Deuteranopia (green-blind)
#666D82
Tritanopia (blue-blind)
#8E5E69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5b83;
/* rgb */ color: rgb(138, 91, 131);
/* oklch */ color: oklch(53.6% 0.083 332.1);
Tailwind
colors: {
  custom: {
    50: '#ad8aa7',
    500: '#8a5b83',
    950: '#000000',
  },
}
SCSS
$custom: #8a5b83;
$custom-light: #ad8aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5b83",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 131
  },
  "hsl": {
    "h": 308.936,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.08337,
    "h": 332.1
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#8A5B83
secondary
#93AE97
accent
#BD776B
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5B83

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

Preview Lab → · Contrast checker → · Palette generator →

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