#8A3B82#8A3B82

#8A3B82 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.4% C 0.140 H 331.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3B82
RGBrgb(138, 59, 130)
HSLhsl(306, 40%, 39%)
HSVhsv(306, 57%, 54%)
CMYKcmyk(0%, 57.2%, 5.8%, 45.9%)
CIE-LABlab(38.10, 43.32, -24.48)
CIE-LCHlch(38.10, 49.76, 330.52°)
OKLaboklab(48.44% 0.1235 -0.0669)
OKLCHoklch(48.44% 0.14 331.5)
XYZxyz(16.0744, 10.1440, 22.2261)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B82 #3B8A43
analogous
#6A3B8A #8A3B82 #8A3B5A
triadic
#8A3B82 #828A3B #3B828A
tetradic
#8A3B82 #8A6A3B #3B8A43 #3B5A8A
square
#8A3B82 #8A6A3B #3B8A43 #3B5A8A
split-complementary
#8A3B82 #5A8A3B #3B8A6A
monochromatic
#341631 #5F295A #8A3B82 #B44FA9 #C679BE

Accessibility & contrast

On white

6.93
#8A3B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B82
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B82#FFFFFF#000000##FFFFFF
##8A3B821.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#8F4259
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3b82;
/* rgb */ color: rgb(138, 59, 130);
/* oklch */ color: oklch(48.4% 0.140 331.5);
Tailwind
colors: {
  custom: {
    50: '#ae75a6',
    500: '#8a3b82',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b82;
$custom-light: #ae75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b82",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 306.076,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.14043,
    "h": 331.5
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#8A3B82
secondary
#71AF78
accent
#D06458
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3B82

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

Preview Lab → · Contrast checker → · Palette generator →

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