#8A4F84#8A4F84

#8A4F84 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.6% C 0.107 H 330.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A4F84
RGBrgb(138, 79, 132)
HSLhsl(306, 27%, 43%)
HSVhsv(306, 43%, 54%)
CMYKcmyk(0%, 42.8%, 4.3%, 45.9%)
CIE-LABlab(42.25, 33.06, -19.28)
CIE-LCHlch(42.25, 38.27, 329.74°)
OKLaboklab(51.55% 0.0935 -0.0523)
OKLCHoklch(51.55% 0.107 330.8)
XYZxyz(17.4419, 12.6621, 23.3506)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F84 #4F8A55
analogous
#734F8A #8A4F84 #8A4F66
triadic
#8A4F84 #848A4F #4F848A
tetradic
#8A4F84 #8A734F #4F8A55 #4F668A
square
#8A4F84 #8A734F #4F8A55 #4F668A
split-complementary
#8A4F84 #668A4F #4F8A73
monochromatic
#3C223A #63395F #8A4F84 #AB6CA4 #C193BC

Accessibility & contrast

On white

5.95
#8A4F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A4F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F84
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F84#FFFFFF#000000##FFFFFF
##8A4F841.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5F86
Deuteranopia (green-blind)
#5C6782
Tritanopia (blue-blind)
#8E5363
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4f84;
/* rgb */ color: rgb(138, 79, 132);
/* oklch */ color: oklch(51.6% 0.107 330.8);
Tailwind
colors: {
  custom: {
    50: '#ad82a8',
    500: '#8a4f84',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f84;
$custom-light: #ad82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f84",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 306.102,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.10712,
    "h": 330.8
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#8A4F84
secondary
#87AE8B
accent
#C46E64
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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