#8A5082#8A5082

#8A5082 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.6% C 0.103 H 332.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A5082
RGBrgb(138, 80, 130)
HSLhsl(308, 27%, 43%)
HSVhsv(308, 42%, 54%)
CMYKcmyk(0%, 42%, 5.8%, 45.9%)
CIE-LABlab(42.39, 32.11, -17.85)
CIE-LCHlch(42.39, 36.74, 330.93°)
OKLaboklab(51.63% 0.0914 -0.0483)
OKLCHoklch(51.63% 0.103 332.1)
XYZxyz(17.3790, 12.7532, 22.6610)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5082 #508A58
analogous
#75508A #8A5082 #8A5065
triadic
#8A5082 #828A50 #50828A
tetradic
#8A5082 #8A7550 #508A58 #50658A
square
#8A5082 #8A7550 #508A58 #50658A
split-complementary
#8A5082 #658A50 #508A75
monochromatic
#3D2339 #633A5E #8A5082 #AA6DA2 #C194BB

Accessibility & contrast

On white

5.91
#8A5082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A5082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5082
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5082#FFFFFF#000000##FFFFFF
##8A50821.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#5E6780
Tritanopia (blue-blind)
#8F5463
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5082;
/* rgb */ color: rgb(138, 80, 130);
/* oklch */ color: oklch(51.6% 0.103 332.1);
Tailwind
colors: {
  custom: {
    50: '#ad82a6',
    500: '#8a5082',
    950: '#000000',
  },
}
SCSS
$custom: #8a5082;
$custom-light: #ad82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5082",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 308.276,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.10333,
    "h": 332.1
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#8A5082
secondary
#88AE8D
accent
#C37265
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A5082

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

Preview Lab → · Contrast checker → · Palette generator →

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