#8A5484#8A5484

#8A5484 is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.4% C 0.098 H 330.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A5484
RGBrgb(138, 84, 132)
HSLhsl(307, 24%, 44%)
HSVhsv(307, 39%, 54%)
CMYKcmyk(0%, 39.1%, 4.3%, 45.9%)
CIE-LABlab(43.38, 30.22, -17.55)
CIE-LCHlch(43.38, 34.95, 329.85°)
OKLaboklab(52.4% 0.0854 -0.0475)
OKLCHoklch(52.4% 0.098 330.9)
XYZxyz(17.8162, 13.4107, 23.4754)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5484 #548A5A
analogous
#75548A #8A5484 #8A5469
triadic
#8A5484 #848A54 #54848A
tetradic
#8A5484 #8A7554 #548A5A #54698A
square
#8A5484 #8A7554 #548A5A #54698A
split-complementary
#8A5484 #698A54 #548A75
monochromatic
#3E263B #643D60 #8A5484 #A972A3 #C098BC

Accessibility & contrast

On white

5.70
#8A5484 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A5484 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5484
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5484#FFFFFF#000000##FFFFFF
##8A54841.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526286
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#8E5866
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a5484;
/* rgb */ color: rgb(138, 84, 132);
/* oklch */ color: oklch(52.4% 0.098 330.9);
Tailwind
colors: {
  custom: {
    50: '#ad85a8',
    500: '#8a5484',
    950: '#000000',
  },
}
SCSS
$custom: #8a5484;
$custom-light: #ad85a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5484",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 306.667,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.09774,
    "h": 330.9
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#8A5484
secondary
#8CAE90
accent
#C17167
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5484

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

Preview Lab → · Contrast checker → · Palette generator →

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