#8A4982#8A4982

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

Color values

HEX#8A4982
RGBrgb(138, 73, 130)
HSLhsl(307, 31%, 41%)
HSVhsv(307, 47%, 54%)
CMYKcmyk(0%, 47.1%, 5.8%, 45.9%)
CIE-LABlab(40.87, 36.01, -20.20)
CIE-LCHlch(40.87, 41.28, 330.71°)
OKLaboklab(50.49% 0.1025 -0.0548)
OKLCHoklch(50.49% 0.116 331.8)
XYZxyz(16.8929, 11.7810, 22.4989)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4982 #498A51
analogous
#72498A #8A4982 #8A4962
triadic
#8A4982 #828A49 #49828A
tetradic
#8A4982 #8A7249 #498A51 #49628A
square
#8A4982 #8A7249 #498A51 #49628A
split-complementary
#8A4982 #628A49 #498A72
monochromatic
#3A1F37 #62345C #8A4982 #AD63A4 #C28BBB

Accessibility & contrast

On white

6.26
#8A4982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A4982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4982
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4982#FFFFFF#000000##FFFFFF
##8A49821.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#596480
Tritanopia (blue-blind)
#8F4D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4982;
/* rgb */ color: rgb(138, 73, 130);
/* oklch */ color: oklch(50.5% 0.116 331.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ea6',
    500: '#8a4982',
    950: '#000000',
  },
}
SCSS
$custom: #8a4982;
$custom-light: #ae7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4982",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 307.385,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.11623,
    "h": 331.8
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#8A4982
secondary
#81AE87
accent
#C76D61
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4982

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

Preview Lab → · Contrast checker → · Palette generator →

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