#8A519A#8A519A

#8A519A is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.0% C 0.127 H 318.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8A519A
RGBrgb(138, 81, 154)
HSLhsl(287, 31%, 46%)
HSVhsv(287, 47%, 60%)
CMYKcmyk(10.4%, 47.4%, 0%, 39.6%)
CIE-LABlab(43.69, 36.39, -30.32)
CIE-LCHlch(43.69, 47.36, 320.21°)
OKLaboklab(52.95% 0.095 -0.0838)
OKLCHoklch(52.95% 0.127 318.6)
XYZxyz(19.2556, 13.6219, 32.1806)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A519A #619A51
analogous
#65519A #8A519A #9A5185
triadic
#8A519A #9A8A51 #519A8A
tetradic
#8A519A #9A6551 #619A51 #51859A
square
#8A519A #9A6551 #619A51 #51859A
split-complementary
#8A519A #859A51 #519A65
monochromatic
#42274A #663C72 #8A519A #A773B5 #C09BCA

Accessibility & contrast

On white

5.64
#8A519A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A519A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A519A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A519A#FFFFFF#000000##FFFFFF
##8A519A1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639D
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#8A5B6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a519a;
/* rgb */ color: rgb(138, 81, 154);
/* oklch */ color: oklch(53.0% 0.127 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae83b8',
    500: '#8a519a',
    950: '#000000',
  },
}
SCSS
$custom: #8a519a;
$custom-light: #ae83b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a519a",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 286.849,
    "s": 31.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52951,
    "c": 0.12668,
    "h": 318.6
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#8A519A
secondary
#98B78F
accent
#C76177
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A519A

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

Preview Lab → · Contrast checker → · Palette generator →

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