#8A508A#8A508A

#8A508A is a mid, moderate purple. Relative luminance 0.130; OKLCH L 52.0% C 0.111 H 327.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A508A
RGBrgb(138, 80, 138)
HSLhsl(300, 27%, 43%)
HSVhsv(300, 42%, 54%)
CMYKcmyk(0%, 42%, 0%, 45.9%)
CIE-LABlab(42.73, 33.66, -22.19)
CIE-LCHlch(42.73, 40.31, 326.61°)
OKLaboklab(51.99% 0.0933 -0.0605)
OKLCHoklch(51.99% 0.111 327)
XYZxyz(17.9370, 12.9764, 25.5997)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A508A #508A50
analogous
#6D508A #8A508A #8A506D
triadic
#8A508A #8A8A50 #508A8A
tetradic
#8A508A #8A6D50 #508A50 #506D8A
square
#8A508A #8A6D50 #508A50 #506D8A
split-complementary
#8A508A #6D8A50 #508A6D
monochromatic
#3D233D #633A63 #8A508A #AA6DAA #C194C1

Accessibility & contrast

On white

5.84
#8A508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A508A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A508A#FFFFFF#000000##FFFFFF
##8A508A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#8D5666
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a508a;
/* rgb */ color: rgb(138, 80, 138);
/* oklch */ color: oklch(52.0% 0.111 327.0);
Tailwind
colors: {
  custom: {
    50: '#ad83ac',
    500: '#8a508a',
    950: '#000000',
  },
}
SCSS
$custom: #8a508a;
$custom-light: #ad83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a508a",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.11126,
    "h": 327
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#8A508A
secondary
#88AE88
accent
#C36565
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A508A

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

Preview Lab → · Contrast checker → · Palette generator →

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