#8A539A#8A539A

#8A539A is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.3% C 0.123 H 318.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A539A
RGBrgb(138, 83, 154)
HSLhsl(286, 30%, 46%)
HSVhsv(286, 46%, 60%)
CMYKcmyk(10.4%, 46.1%, 0%, 39.6%)
CIE-LABlab(44.12, 35.27, -29.63)
CIE-LCHlch(44.12, 46.07, 319.97°)
OKLaboklab(53.28% 0.092 -0.0819)
OKLCHoklch(53.28% 0.123 318.3)
XYZxyz(19.4064, 13.9235, 32.2308)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A539A #639A53
analogous
#67539A #8A539A #9A5387
triadic
#8A539A #9A8A53 #539A8A
tetradic
#8A539A #9A6753 #639A53 #53879A
square
#8A539A #9A6753 #639A53 #53879A
split-complementary
#8A539A #879A53 #539A67
monochromatic
#43284A #663E72 #8A539A #A775B5 #C09DCA

Accessibility & contrast

On white

5.55
#8A539A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A539A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A539A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A539A#FFFFFF#000000##FFFFFF
##8A539A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47659C
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#8A5D6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a539a;
/* rgb */ color: rgb(138, 83, 154);
/* oklch */ color: oklch(53.3% 0.123 318.3);
Tailwind
colors: {
  custom: {
    50: '#ad85b8',
    500: '#8a539a',
    950: '#000000',
  },
}
SCSS
$custom: #8a539a;
$custom-light: #ad85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a539a",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 286.479,
    "s": 29.958,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.12313,
    "h": 318.3
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#8A539A
secondary
#9AB791
accent
#C66278
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A539A

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

Preview Lab → · Contrast checker → · Palette generator →

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