#8A4882#8A4882

#8A4882 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.3% C 0.118 H 331.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4882
RGBrgb(138, 72, 130)
HSLhsl(307, 31%, 41%)
HSVhsv(307, 48%, 54%)
CMYKcmyk(0%, 47.8%, 5.8%, 45.9%)
CIE-LABlab(40.66, 36.55, -20.52)
CIE-LCHlch(40.66, 41.92, 330.69°)
OKLaboklab(50.33% 0.104 -0.0557)
OKLCHoklch(50.33% 0.118 331.8)
XYZxyz(16.8277, 11.6507, 22.4772)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4882 #488A50
analogous
#71488A #8A4882 #8A4861
triadic
#8A4882 #828A48 #48828A
tetradic
#8A4882 #8A7148 #488A50 #48618A
square
#8A4882 #8A7148 #488A50 #48618A
split-complementary
#8A4882 #618A48 #488A71
monochromatic
#3A1E36 #62335C #8A4882 #AD62A4 #C28ABB

Accessibility & contrast

On white

6.31
#8A4882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A4882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4882
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4882#FFFFFF#000000##FFFFFF
##8A48821.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#8F4D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4882;
/* rgb */ color: rgb(138, 72, 130);
/* oklch */ color: oklch(50.3% 0.118 331.8);
Tailwind
colors: {
  custom: {
    50: '#ae7da6',
    500: '#8a4882',
    950: '#000000',
  },
}
SCSS
$custom: #8a4882;
$custom-light: #ae7da6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4882",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 307.273,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.11804,
    "h": 331.8
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#8A4882
secondary
#80AE86
accent
#C86D60
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4882

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

Preview Lab → · Contrast checker → · Palette generator →

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