#8A539B#8A539B

#8A539B is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.3% C 0.124 H 317.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A539B
RGBrgb(138, 83, 155)
HSLhsl(286, 30%, 47%)
HSVhsv(286, 46%, 61%)
CMYKcmyk(11%, 46.5%, 0%, 39.2%)
CIE-LABlab(44.17, 35.49, -30.15)
CIE-LCHlch(44.17, 46.57, 319.65°)
OKLaboklab(53.33% 0.0921 -0.0834)
OKLCHoklch(53.33% 0.124 317.9)
XYZxyz(19.4901, 13.9570, 32.6713)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A539B #649B53
analogous
#66539B #8A539B #9B5388
triadic
#8A539B #9B8A53 #539B8A
tetradic
#8A539B #9B6653 #649B53 #53889B
square
#8A539B #9B6653 #649B53 #53889B
split-complementary
#8A539B #889B53 #539B66
monochromatic
#43284B #673E73 #8A539B #A676B5 #C09ECB

Accessibility & contrast

On white

5.54
#8A539B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A539B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A539B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A539B#FFFFFF#000000##FFFFFF
##8A539B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47659E
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#8A5D70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a539b;
/* rgb */ color: rgb(138, 83, 155);
/* oklch */ color: oklch(53.3% 0.124 317.9);
Tailwind
colors: {
  custom: {
    50: '#ae85b9',
    500: '#8a539b',
    950: '#000000',
  },
}
SCSS
$custom: #8a539b;
$custom-light: #ae85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a539b",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 285.833,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.12427,
    "h": 317.9
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#8A539B
secondary
#9BB892
accent
#C66179
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A539B

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

Preview Lab → · Contrast checker → · Palette generator →

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