#8A3A82#8A3A82

#8A3A82 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.3% C 0.142 H 331.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A3A82
RGBrgb(138, 58, 130)
HSLhsl(306, 41%, 38%)
HSVhsv(306, 58%, 54%)
CMYKcmyk(0%, 58%, 5.8%, 45.9%)
CIE-LABlab(37.92, 43.81, -24.77)
CIE-LCHlch(37.92, 50.32, 330.52°)
OKLaboklab(48.31% 0.1249 -0.0677)
OKLCHoklch(48.31% 0.142 331.5)
XYZxyz(16.0235, 10.0422, 22.2091)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A82 #3A8A42
analogous
#6A3A8A #8A3A82 #8A3A5A
triadic
#8A3A82 #828A3A #3A828A
tetradic
#8A3A82 #8A6A3A #3A8A42 #3A5A8A
square
#8A3A82 #8A6A3A #3A8A42 #3A5A8A
split-complementary
#8A3A82 #5A8A3A #3A8A6A
monochromatic
#341631 #5F2859 #8A3A82 #B44DAA #C678BE

Accessibility & contrast

On white

6.98
#8A3A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A3A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A82
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A82#FFFFFF#000000##FFFFFF
##8A3A821.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#4F5D80
Tritanopia (blue-blind)
#8F4158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3a82;
/* rgb */ color: rgb(138, 58, 130);
/* oklch */ color: oklch(48.3% 0.142 331.5);
Tailwind
colors: {
  custom: {
    50: '#ae75a6',
    500: '#8a3a82',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a82;
$custom-light: #ae75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a82",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 306,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.14206,
    "h": 331.5
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#8A3A82
secondary
#70B077
accent
#D16357
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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