#8A4E86#8A4E86

#8A4E86 is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.5% C 0.111 H 329.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A4E86
RGBrgb(138, 78, 134)
HSLhsl(304, 28%, 42%)
HSVhsv(304, 43%, 54%)
CMYKcmyk(0%, 43.5%, 2.9%, 45.9%)
CIE-LABlab(42.11, 34.00, -20.71)
CIE-LCHlch(42.11, 39.81, 328.66°)
OKLaboklab(51.48% 0.0956 -0.0563)
OKLCHoklch(51.48% 0.111 329.5)
XYZxyz(17.5085, 12.5742, 24.0545)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E86 #4E8A52
analogous
#704E8A #8A4E86 #8A4E68
triadic
#8A4E86 #868A4E #4E868A
tetradic
#8A4E86 #8A704E #4E8A52 #4E688A
square
#8A4E86 #8A704E #4E8A52 #4E688A
split-complementary
#8A4E86 #688A4E #4E8A70
monochromatic
#3C223A #633860 #8A4E86 #AB6AA7 #C191BE

Accessibility & contrast

On white

5.98
#8A4E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A4E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E86
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E86#FFFFFF#000000##FFFFFF
##8A4E861.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#8E5364
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e86;
/* rgb */ color: rgb(138, 78, 134);
/* oklch */ color: oklch(51.5% 0.111 329.5);
Tailwind
colors: {
  custom: {
    50: '#ad81a9',
    500: '#8a4e86',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e86;
$custom-light: #ad81a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e86",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 304,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.11092,
    "h": 329.5
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#8A4E86
secondary
#86AE89
accent
#C46A64
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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