#8A519D#8A519D

#8A519D is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.1% C 0.130 H 317.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A519D
RGBrgb(138, 81, 157)
HSLhsl(285, 32%, 47%)
HSVhsv(285, 48%, 62%)
CMYKcmyk(12.1%, 48.4%, 0%, 38.4%)
CIE-LABlab(43.83, 37.04, -31.87)
CIE-LCHlch(43.83, 48.86, 319.28°)
OKLaboklab(53.11% 0.0954 -0.0883)
OKLCHoklch(53.11% 0.13 317.2)
XYZxyz(19.5086, 13.7231, 33.5129)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A519D #649D51
analogous
#64519D #8A519D #9D518A
triadic
#8A519D #9D8A51 #519D8A
tetradic
#8A519D #9D6451 #649D51 #518A9D
square
#8A519D #9D6451 #649D51 #518A9D
split-complementary
#8A519D #8A9D51 #519D64
monochromatic
#43274C #673C75 #8A519D #A674B7 #C09CCC

Accessibility & contrast

On white

5.61
#8A519D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A519D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A519D#FFFFFF#000000##FFFFFF
##8A519D1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4364A0
Deuteranopia (green-blind)
#53699B
Tritanopia (blue-blind)
#8A5C70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a519d;
/* rgb */ color: rgb(138, 81, 157);
/* oklch */ color: oklch(53.1% 0.130 317.2);
Tailwind
colors: {
  custom: {
    50: '#ae84ba',
    500: '#8a519d',
    950: '#000000',
  },
}
SCSS
$custom: #8a519d;
$custom-light: #ae84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a519d",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 285,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.13006,
    "h": 317.2
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#8A519D
secondary
#9BB991
accent
#C8607A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A519D

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

Preview Lab → · Contrast checker → · Palette generator →

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