#8A5597#8A5597

#8A5597 is a mid, moderate purple. Relative luminance 0.141; OKLCH L 53.5% C 0.116 H 319.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A5597
RGBrgb(138, 85, 151)
HSLhsl(288, 28%, 46%)
HSVhsv(288, 44%, 59%)
CMYKcmyk(8.6%, 43.7%, 0%, 40.8%)
CIE-LABlab(44.43, 33.50, -27.36)
CIE-LCHlch(44.43, 43.26, 320.76°)
OKLaboklab(53.46% 0.0884 -0.0754)
OKLCHoklch(53.46% 0.116 319.5)
XYZxyz(19.3149, 14.1353, 30.9831)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5597 #629755
analogous
#695597 #8A5597 #975583
triadic
#8A5597 #978A55 #55978A
tetradic
#8A5597 #976955 #629755 #558397
square
#8A5597 #976955 #629755 #558397
split-complementary
#8A5597 #839755 #559769
monochromatic
#422949 #663F70 #8A5597 #A777B2 #C09EC8

Accessibility & contrast

On white

5.49
#8A5597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A5597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5597
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5597#FFFFFF#000000##FFFFFF
##8A55971.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#8B5D6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5597;
/* rgb */ color: rgb(138, 85, 151);
/* oklch */ color: oklch(53.5% 0.116 319.5);
Tailwind
colors: {
  custom: {
    50: '#ad86b6',
    500: '#8a5597',
    950: '#000000',
  },
}
SCSS
$custom: #8a5597;
$custom-light: #ad86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5597",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 288.182,
    "s": 27.966,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.11614,
    "h": 319.5
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#8A5597
secondary
#99B692
accent
#C46477
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5597

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

Preview Lab → · Contrast checker → · Palette generator →

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