#8A519C#8A519C

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

Color values

HEX#8A519C
RGBrgb(138, 81, 156)
HSLhsl(286, 32%, 46%)
HSVhsv(286, 48%, 61%)
CMYKcmyk(11.5%, 48.1%, 0%, 38.8%)
CIE-LABlab(43.78, 36.82, -31.36)
CIE-LCHlch(43.78, 48.36, 319.58°)
OKLaboklab(53.06% 0.0953 -0.0868)
OKLCHoklch(53.06% 0.129 317.7)
XYZxyz(19.4236, 13.6891, 33.0651)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A519C #639C51
analogous
#65519C #8A519C #9C5189
triadic
#8A519C #9C8A51 #519C8A
tetradic
#8A519C #9C6551 #639C51 #51899C
square
#8A519C #9C6551 #639C51 #51899C
split-complementary
#8A519C #899C51 #519C65
monochromatic
#43274B #663C74 #8A519C #A774B7 #C09CCC

Accessibility & contrast

On white

5.62
#8A519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A519C
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A519C#FFFFFF#000000##FFFFFF
##8A519C1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44649F
Deuteranopia (green-blind)
#54699A
Tritanopia (blue-blind)
#8A5B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a519c;
/* rgb */ color: rgb(138, 81, 156);
/* oklch */ color: oklch(53.1% 0.129 317.7);
Tailwind
colors: {
  custom: {
    50: '#ae84b9',
    500: '#8a519c',
    950: '#000000',
  },
}
SCSS
$custom: #8a519c;
$custom-light: #ae84b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a519c",
  "rgb": {
    "r": 138,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 285.6,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.12892,
    "h": 317.7
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#8A519C
secondary
#9AB890
accent
#C86079
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A519C

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

Preview Lab → · Contrast checker → · Palette generator →

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