#8A3782#8A3782

#8A3782 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.147 H 331.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A3782
RGBrgb(138, 55, 130)
HSLhsl(306, 43%, 38%)
HSVhsv(306, 60%, 54%)
CMYKcmyk(0%, 60.1%, 5.8%, 45.9%)
CIE-LABlab(37.39, 45.25, -25.60)
CIE-LCHlch(37.39, 51.99, 330.50°)
OKLaboklab(47.92% 0.129 -0.0701)
OKLCHoklch(47.92% 0.147 331.5)
XYZxyz(15.8766, 9.7485, 22.1602)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3782 #378A3F
analogous
#68378A #8A3782 #8A3758
triadic
#8A3782 #828A37 #37828A
tetradic
#8A3782 #8A6837 #378A3F #37588A
square
#8A3782 #8A6837 #378A3F #37588A
split-complementary
#8A3782 #588A37 #378A68
monochromatic
#321430 #5E2659 #8A3782 #B648AB #C874BF

Accessibility & contrast

On white

7.12
#8A3782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3782
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3782#FFFFFF#000000##FFFFFF
##8A37821.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#8F3E57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3782;
/* rgb */ color: rgb(138, 55, 130);
/* oklch */ color: oklch(47.9% 0.147 331.5);
Tailwind
colors: {
  custom: {
    50: '#af73a6',
    500: '#8a3782',
    950: '#000000',
  },
}
SCSS
$custom: #8a3782;
$custom-light: #af73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3782",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 130
  },
  "hsl": {
    "h": 305.783,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.14683,
    "h": 331.5
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#8A3782
secondary
#6DB073
accent
#D36155
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3782

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

Preview Lab → · Contrast checker → · Palette generator →

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