#8A3382#8A3382

#8A3382 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.4% C 0.153 H 331.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A3382
RGBrgb(138, 51, 130)
HSLhsl(306, 46%, 37%)
HSVhsv(306, 63%, 54%)
CMYKcmyk(0%, 63%, 5.8%, 45.9%)
CIE-LABlab(36.71, 47.10, -26.65)
CIE-LCHlch(36.71, 54.11, 330.50°)
OKLaboklab(47.42% 0.1344 -0.073)
OKLCHoklch(47.42% 0.153 331.5)
XYZxyz(15.6943, 9.3838, 22.0994)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3382 #338A3B
analogous
#67338A #8A3382 #8A3357
triadic
#8A3382 #828A33 #33828A
tetradic
#8A3382 #8A6733 #338A3B #33578A
square
#8A3382 #8A6733 #338A3B #33578A
split-complementary
#8A3382 #578A33 #338A67
monochromatic
#31122E #5D2258 #8A3382 #B744AC #C96EC1

Accessibility & contrast

On white

7.30
#8A3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3382
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3382#FFFFFF#000000##FFFFFF
##8A33821.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F84
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#8F3B55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3382;
/* rgb */ color: rgb(138, 51, 130);
/* oklch */ color: oklch(47.4% 0.153 331.5);
Tailwind
colors: {
  custom: {
    50: '#af71a6',
    500: '#8a3382',
    950: '#000000',
  },
}
SCSS
$custom: #8a3382;
$custom-light: #af71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3382",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 305.517,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.15294,
    "h": 331.5
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#8A3382
secondary
#67B16E
accent
#D65E52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3382

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

Preview Lab → · Contrast checker → · Palette generator →

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