#8A589D#8A589D

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

Color values

HEX#8A589D
RGBrgb(138, 88, 157)
HSLhsl(283, 28%, 48%)
HSVhsv(283, 44%, 62%)
CMYKcmyk(12.1%, 43.9%, 0%, 38.4%)
CIE-LABlab(45.38, 33.09, -29.45)
CIE-LCHlch(45.38, 44.29, 318.33°)
OKLaboklab(54.27% 0.0849 -0.0814)
OKLCHoklch(54.27% 0.118 316.2)
XYZxyz(20.0559, 14.8176, 33.6953)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A589D #6B9D58
analogous
#67589D #8A589D #9D588D
triadic
#8A589D #9D8A58 #589D8A
tetradic
#8A589D #9D6758 #6B9D58 #588D9D
square
#8A589D #9D6758 #6B9D58 #588D9D
split-complementary
#8A589D #8D9D58 #589D67
monochromatic
#452C4F #684276 #8A589D #A67CB6 #C1A4CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A589D#FFFFFF#000000##FFFFFF
##8A589D1.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)
#4C689F
Deuteranopia (green-blind)
#596D9B
Tritanopia (blue-blind)
#896173
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a589d;
/* rgb */ color: rgb(138, 88, 157);
/* oklch */ color: oklch(54.3% 0.118 316.2);
Tailwind
colors: {
  custom: {
    50: '#ad88ba',
    500: '#8a589d',
    950: '#000000',
  },
}
SCSS
$custom: #8a589d;
$custom-light: #ad88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a589d",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 283.478,
    "s": 28.163,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.11763,
    "h": 316.2
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#8A589D
secondary
#A1B997
accent
#C4637E
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A589D

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

Preview Lab → · Contrast checker → · Palette generator →

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