#8A4E81#8A4E81

#8A4E81 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 51.3% C 0.106 H 332.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A4E81
RGBrgb(138, 78, 129)
HSLhsl(309, 28%, 42%)
HSVhsv(309, 43%, 54%)
CMYKcmyk(0%, 43.5%, 6.5%, 45.9%)
CIE-LABlab(41.90, 33.05, -17.99)
CIE-LCHlch(41.90, 37.63, 331.44°)
OKLaboklab(51.25% 0.0943 -0.0487)
OKLCHoklch(51.25% 0.106 332.7)
XYZxyz(17.1679, 12.4380, 22.2611)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E81 #4E8A57
analogous
#754E8A #8A4E81 #8A4E63
triadic
#8A4E81 #818A4E #4E818A
tetradic
#8A4E81 #8A754E #4E8A57 #4E638A
square
#8A4E81 #8A754E #4E8A57 #4E638A
split-complementary
#8A4E81 #638A4E #4E8A75
monochromatic
#3C2238 #63385C #8A4E81 #AB6AA1 #C191BA

Accessibility & contrast

On white

6.02
#8A4E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A4E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E81
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E81#FFFFFF#000000##FFFFFF
##8A4E811.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#8F5261
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e81;
/* rgb */ color: rgb(138, 78, 129);
/* oklch */ color: oklch(51.3% 0.106 332.7);
Tailwind
colors: {
  custom: {
    50: '#ad81a5',
    500: '#8a4e81',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e81;
$custom-light: #ad81a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e81",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 309,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.10611,
    "h": 332.7
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#8A4E81
secondary
#86AE8C
accent
#C47264
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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