#8A3482#8A3482

#8A3482 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.5% C 0.151 H 331.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3482
RGBrgb(138, 52, 130)
HSLhsl(306, 45%, 37%)
HSVhsv(306, 62%, 54%)
CMYKcmyk(0%, 62.3%, 5.8%, 45.9%)
CIE-LABlab(36.88, 46.64, -26.39)
CIE-LCHlch(36.88, 53.59, 330.50°)
OKLaboklab(47.54% 0.1331 -0.0723)
OKLCHoklch(47.54% 0.151 331.5)
XYZxyz(15.7384, 9.4721, 22.1141)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3482 #348A3C
analogous
#67348A #8A3482 #8A3457
triadic
#8A3482 #828A34 #34828A
tetradic
#8A3482 #8A6734 #348A3C #34578A
square
#8A3482 #8A6734 #348A3C #34578A
split-complementary
#8A3482 #578A34 #348A67
monochromatic
#31132E #5E2358 #8A3482 #B645AC #C96FC1

Accessibility & contrast

On white

7.26
#8A3482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3482
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3482#FFFFFF#000000##FFFFFF
##8A34821.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#8F3C56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3482;
/* rgb */ color: rgb(138, 52, 130);
/* oklch */ color: oklch(47.5% 0.151 331.5);
Tailwind
colors: {
  custom: {
    50: '#af71a6',
    500: '#8a3482',
    950: '#000000',
  },
}
SCSS
$custom: #8a3482;
$custom-light: #af71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3482",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 130
  },
  "hsl": {
    "h": 305.581,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.15144,
    "h": 331.5
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#8A3482
secondary
#69B16F
accent
#D55F53
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3482

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

Preview Lab → · Contrast checker → · Palette generator →

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