#8A519B#8A519B

#8A519B is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.0% C 0.128 H 318.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A519B
RGBrgb(138, 81, 155)
HSLhsl(286, 31%, 46%)
HSVhsv(286, 48%, 61%)
CMYKcmyk(11%, 47.7%, 0%, 39.2%)
CIE-LABlab(43.73, 36.61, -30.84)
CIE-LCHlch(43.73, 47.86, 319.89°)
OKLaboklab(53% 0.0951 -0.0853)
OKLCHoklch(53% 0.128 318.1)
XYZxyz(19.3392, 13.6553, 32.6210)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A519B #629B51
analogous
#65519B #8A519B #9B5187
triadic
#8A519B #9B8A51 #519B8A
tetradic
#8A519B #9B6551 #629B51 #51879B
square
#8A519B #9B6551 #629B51 #51879B
split-complementary
#8A519B #879B51 #519B65
monochromatic
#42274B #663C73 #8A519B #A773B6 #C09BCB

Accessibility & contrast

On white

5.63
#8A519B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A519B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A519B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A519B#FFFFFF#000000##FFFFFF
##8A519B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44649E
Deuteranopia (green-blind)
#546999
Tritanopia (blue-blind)
#8A5B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a519b;
/* rgb */ color: rgb(138, 81, 155);
/* oklch */ color: oklch(53.0% 0.128 318.1);
Tailwind
colors: {
  custom: {
    50: '#ae84b9',
    500: '#8a519b',
    950: '#000000',
  },
}
SCSS
$custom: #8a519b;
$custom-light: #ae84b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a519b",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 286.216,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53003,
    "c": 0.1278,
    "h": 318.1
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#8A519B
secondary
#99B890
accent
#C86078
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A519B

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

Preview Lab → · Contrast checker → · Palette generator →

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