#8A5B82#8A5B82

#8A5B82 is a mid, moderate pink. Relative luminance 0.145; OKLCH L 53.6% C 0.082 H 332.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8A5B82
RGBrgb(138, 91, 130)
HSLhsl(310, 21%, 45%)
HSVhsv(310, 34%, 54%)
CMYKcmyk(0%, 34.1%, 5.8%, 45.9%)
CIE-LABlab(44.94, 25.80, -13.96)
CIE-LCHlch(44.94, 29.33, 331.58°)
OKLaboklab(53.55% 0.0734 -0.0375)
OKLCHoklch(53.55% 0.082 332.9)
XYZxyz(18.2514, 14.4979, 22.9518)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5B82 #5B8A63
analogous
#7B5B8A #8A5B82 #8A5B6A
triadic
#8A5B82 #828A5B #5B828A
tetradic
#8A5B82 #8A7B5B #5B8A63 #5B6A8A
square
#8A5B82 #8A7B5B #5B8A63 #5B6A8A
split-complementary
#8A5B82 #6A8A5B #5B8A7B
monochromatic
#402A3D #65435F #8A5B82 #A87BA0 #C09FBA

Accessibility & contrast

On white

5.39
#8A5B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A5B82
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5B82#FFFFFF#000000##FFFFFF
##8A5B821.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#666D81
Tritanopia (blue-blind)
#8E5D69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5b82;
/* rgb */ color: rgb(138, 91, 130);
/* oklch */ color: oklch(53.6% 0.082 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad8aa6',
    500: '#8a5b82',
    950: '#000000',
  },
}
SCSS
$custom: #8a5b82;
$custom-light: #ad8aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5b82",
  "rgb": {
    "r": 138,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 310.213,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.08239,
    "h": 332.9
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A5B82

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

Preview Lab → · Contrast checker → · Palette generator →

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