#8A3D80#8A3D80

#8A3D80 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.6% C 0.135 H 332.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3D80
RGBrgb(138, 61, 128)
HSLhsl(308, 39%, 39%)
HSVhsv(308, 56%, 54%)
CMYKcmyk(0%, 55.8%, 7.2%, 45.9%)
CIE-LABlab(38.38, 41.96, -22.82)
CIE-LCHlch(38.38, 47.77, 331.46°)
OKLaboklab(48.61% 0.1203 -0.0622)
OKLCHoklch(48.61% 0.135 332.7)
XYZxyz(16.0462, 10.3004, 21.5609)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D80 #3D8A47
analogous
#6E3D8A #8A3D80 #8A3D5A
triadic
#8A3D80 #808A3D #3D808A
tetradic
#8A3D80 #8A6E3D #3D8A47 #3D5A8A
square
#8A3D80 #8A6E3D #3D8A47 #3D5A8A
split-complementary
#8A3D80 #5A8A3D #3D8A6E
monochromatic
#351731 #602A59 #8A3D80 #B252A6 #C57CBC

Accessibility & contrast

On white

6.86
#8A3D80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A3D80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D80
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D80#FFFFFF#000000##FFFFFF
##8A3D801.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5382
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#904359
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3d80;
/* rgb */ color: rgb(138, 61, 128);
/* oklch */ color: oklch(48.6% 0.135 332.7);
Tailwind
colors: {
  custom: {
    50: '#ae76a5',
    500: '#8a3d80',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d80;
$custom-light: #ae76a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d80",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 307.792,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48612,
    "c": 0.13538,
    "h": 332.7
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#8A3D80
secondary
#74AF7B
accent
#CF6859
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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