#8A5488#8A5488

#8A5488 is a mid, moderate purple. Relative luminance 0.135; OKLCH L 52.6% C 0.102 H 328.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A5488
RGBrgb(138, 84, 136)
HSLhsl(302, 24%, 44%)
HSVhsv(302, 39%, 54%)
CMYKcmyk(0%, 39.1%, 1.4%, 45.9%)
CIE-LABlab(43.54, 31.00, -19.72)
CIE-LCHlch(43.54, 36.74, 327.53°)
OKLaboklab(52.58% 0.0865 -0.0536)
OKLCHoklch(52.58% 0.102 328.2)
XYZxyz(18.0952, 13.5223, 24.9447)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5488 #548A56
analogous
#71548A #8A5488 #8A546D
triadic
#8A5488 #888A54 #54888A
tetradic
#8A5488 #8A7154 #548A56 #546D8A
square
#8A5488 #8A7154 #548A56 #546D8A
split-complementary
#8A5488 #6D8A54 #548A71
monochromatic
#3E263D #643D63 #8A5488 #A972A7 #C098BF

Accessibility & contrast

On white

5.67
#8A5488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A5488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5488
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5488#FFFFFF#000000##FFFFFF
##8A54881.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51628A
Deuteranopia (green-blind)
#5F6986
Tritanopia (blue-blind)
#8D5968
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5488;
/* rgb */ color: rgb(138, 84, 136);
/* oklch */ color: oklch(52.6% 0.102 328.2);
Tailwind
colors: {
  custom: {
    50: '#ad85ab',
    500: '#8a5488',
    950: '#000000',
  },
}
SCSS
$custom: #8a5488;
$custom-light: #ad85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5488",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 302.222,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.10176,
    "h": 328.2
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#8A5488
secondary
#8CAE8D
accent
#C16A67
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A5488

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

Preview Lab → · Contrast checker → · Palette generator →

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