#8A4E83#8A4E83

#8A4E83 is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.3% C 0.108 H 331.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A4E83
RGBrgb(138, 78, 131)
HSLhsl(307, 28%, 42%)
HSVhsv(307, 43%, 54%)
CMYKcmyk(0%, 43.5%, 5.1%, 45.9%)
CIE-LABlab(41.99, 33.43, -19.08)
CIE-LCHlch(41.99, 38.49, 330.29°)
OKLaboklab(51.34% 0.0948 -0.0517)
OKLCHoklch(51.34% 0.108 331.4)
XYZxyz(17.3022, 12.4917, 22.9681)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E83 #4E8A55
analogous
#734E8A #8A4E83 #8A4E65
triadic
#8A4E83 #838A4E #4E838A
tetradic
#8A4E83 #8A734E #4E8A55 #4E658A
square
#8A4E83 #8A734E #4E8A55 #4E658A
split-complementary
#8A4E83 #658A4E #4E8A73
monochromatic
#3C2239 #63385E #8A4E83 #AB6AA3 #C191BB

Accessibility & contrast

On white

6.00
#8A4E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A4E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E83
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E83#FFFFFF#000000##FFFFFF
##8A4E831.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E85
Deuteranopia (green-blind)
#5C6681
Tritanopia (blue-blind)
#8F5262
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e83;
/* rgb */ color: rgb(138, 78, 131);
/* oklch */ color: oklch(51.3% 0.108 331.4);
Tailwind
colors: {
  custom: {
    50: '#ad81a7',
    500: '#8a4e83',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e83;
$custom-light: #ad81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e83",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 307,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5134,
    "c": 0.10802,
    "h": 331.4
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#8A4E83
secondary
#86AE8B
accent
#C46F64
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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