#8A5689#8A5689

#8A5689 is a mid, moderate purple. Relative luminance 0.139; OKLCH L 53.0% C 0.099 H 327.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A5689
RGBrgb(138, 86, 137)
HSLhsl(301, 23%, 44%)
HSVhsv(301, 38%, 54%)
CMYKcmyk(0%, 37.7%, 0.7%, 45.9%)
CIE-LABlab(44.04, 30.05, -19.56)
CIE-LCHlch(44.04, 35.86, 326.94°)
OKLaboklab(52.97% 0.0835 -0.0532)
OKLCHoklch(52.97% 0.099 327.5)
XYZxyz(18.3240, 13.8658, 25.3732)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5689 #568A57
analogous
#71568A #8A5689 #8A566F
triadic
#8A5689 #898A56 #56898A
tetradic
#8A5689 #8A7156 #568A57 #566F8A
square
#8A5689 #8A7156 #568A57 #566F8A
split-complementary
#8A5689 #6F8A56 #568A71
monochromatic
#3F273E #643F64 #8A5689 #A975A8 #C09ABF

Accessibility & contrast

On white

5.57
#8A5689 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A5689 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5689
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5689#FFFFFF#000000##FFFFFF
##8A56891.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648B
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#8D5B69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5689;
/* rgb */ color: rgb(138, 86, 137);
/* oklch */ color: oklch(53.0% 0.099 327.5);
Tailwind
colors: {
  custom: {
    50: '#ad87ab',
    500: '#8a5689',
    950: '#000000',
  },
}
SCSS
$custom: #8a5689;
$custom-light: #ad87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5689",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 301.154,
    "s": 23.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.09901,
    "h": 327.5
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#8A5689
secondary
#8EAE8F
accent
#C06A68
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A5689

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

Preview Lab → · Contrast checker → · Palette generator →

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