#8A3D82#8A3D82

#8A3D82 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.7% C 0.137 H 331.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3D82
RGBrgb(138, 61, 130)
HSLhsl(306, 39%, 39%)
HSVhsv(306, 56%, 54%)
CMYKcmyk(0%, 55.8%, 5.8%, 45.9%)
CIE-LABlab(38.47, 42.32, -23.91)
CIE-LCHlch(38.47, 48.61, 330.54°)
OKLaboklab(48.71% 0.1206 -0.0653)
OKLCHoklch(48.71% 0.137 331.6)
XYZxyz(16.1792, 10.3535, 22.2610)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D82 #3D8A45
analogous
#6C3D8A #8A3D82 #8A3D5C
triadic
#8A3D82 #828A3D #3D828A
tetradic
#8A3D82 #8A6C3D #3D8A45 #3D5C8A
square
#8A3D82 #8A6C3D #3D8A45 #3D5C8A
split-complementary
#8A3D82 #5C8A3D #3D8A6C
monochromatic
#351732 #602A5A #8A3D82 #B252A8 #C57CBE

Accessibility & contrast

On white

6.84
#8A3D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D82
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D82#FFFFFF#000000##FFFFFF
##8A3D821.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#8F435A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3d82;
/* rgb */ color: rgb(138, 61, 130);
/* oklch */ color: oklch(48.7% 0.137 331.6);
Tailwind
colors: {
  custom: {
    50: '#ae76a6',
    500: '#8a3d82',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d82;
$custom-light: #ae76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d82",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 306.234,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.13714,
    "h": 331.6
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#8A3D82
secondary
#74AF7A
accent
#CF6559
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3D82

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

Preview Lab → · Contrast checker → · Palette generator →

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