#8A3D84#8A3D84

#8A3D84 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.8% C 0.139 H 330.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A3D84
RGBrgb(138, 61, 132)
HSLhsl(305, 39%, 39%)
HSVhsv(305, 56%, 54%)
CMYKcmyk(0%, 55.8%, 4.3%, 45.9%)
CIE-LABlab(38.56, 42.68, -24.99)
CIE-LCHlch(38.56, 49.46, 329.65°)
OKLaboklab(48.81% 0.1209 -0.0684)
OKLCHoklch(48.81% 0.139 330.5)
XYZxyz(16.3147, 10.4078, 22.9749)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D84 #3D8A43
analogous
#6A3D8A #8A3D84 #8A3D5E
triadic
#8A3D84 #848A3D #3D848A
tetradic
#8A3D84 #8A6A3D #3D8A43 #3D5E8A
square
#8A3D84 #8A6A3D #3D8A43 #3D5E8A
split-complementary
#8A3D84 #5E8A3D #3D8A6A
monochromatic
#351733 #602A5B #8A3D84 #B252AB #C57CC0

Accessibility & contrast

On white

6.82
#8A3D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A3D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D84
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D84#FFFFFF#000000##FFFFFF
##8A3D841.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#8F445B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3d84;
/* rgb */ color: rgb(138, 61, 132);
/* oklch */ color: oklch(48.8% 0.139 330.5);
Tailwind
colors: {
  custom: {
    50: '#ae76a8',
    500: '#8a3d84',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d84;
$custom-light: #ae76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d84",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 304.675,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.13893,
    "h": 330.5
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#8A3D84
secondary
#74AF78
accent
#CF6259
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3D84

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

Preview Lab → · Contrast checker → · Palette generator →

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