#8A5486#8A5486

#8A5486 is a mid, moderate purple. Relative luminance 0.135; OKLCH L 52.5% C 0.100 H 329.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A5486
RGBrgb(138, 84, 134)
HSLhsl(304, 24%, 44%)
HSVhsv(304, 39%, 54%)
CMYKcmyk(0%, 39.1%, 2.9%, 45.9%)
CIE-LABlab(43.46, 30.61, -18.64)
CIE-LCHlch(43.46, 35.84, 328.66°)
OKLaboklab(52.49% 0.086 -0.0506)
OKLCHoklch(52.49% 0.1 329.5)
XYZxyz(17.9544, 13.4660, 24.2031)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5486 #548A58
analogous
#73548A #8A5486 #8A546B
triadic
#8A5486 #868A54 #54868A
tetradic
#8A5486 #8A7354 #548A58 #546B8A
square
#8A5486 #8A7354 #548A58 #546B8A
split-complementary
#8A5486 #6B8A54 #548A73
monochromatic
#3E263C #643D61 #8A5486 #A972A5 #C098BD

Accessibility & contrast

On white

5.69
#8A5486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A5486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5486
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5486#FFFFFF#000000##FFFFFF
##8A54861.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#8E5867
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5486;
/* rgb */ color: rgb(138, 84, 134);
/* oklch */ color: oklch(52.5% 0.100 329.5);
Tailwind
colors: {
  custom: {
    50: '#ad85a9',
    500: '#8a5486',
    950: '#000000',
  },
}
SCSS
$custom: #8a5486;
$custom-light: #ad85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5486",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 304.444,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.09973,
    "h": 329.5
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#8A5486
secondary
#8CAE8F
accent
#C16E67
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A5486

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

Preview Lab → · Contrast checker → · Palette generator →

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