#8A3884#8A3884

#8A3884 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.1% C 0.147 H 330.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A3884
RGBrgb(138, 56, 132)
HSLhsl(304, 42%, 38%)
HSVhsv(304, 59%, 54%)
CMYKcmyk(0%, 59.4%, 4.3%, 45.9%)
CIE-LABlab(37.66, 45.13, -26.40)
CIE-LCHlch(37.66, 52.29, 329.67°)
OKLaboklab(48.15% 0.128 -0.0724)
OKLCHoklch(48.15% 0.147 330.5)
XYZxyz(16.0602, 9.8987, 22.8901)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3884 #388A3E
analogous
#67388A #8A3884 #8A385B
triadic
#8A3884 #848A38 #38848A
tetradic
#8A3884 #8A6738 #388A3E #385B8A
square
#8A3884 #8A6738 #388A3E #385B8A
split-complementary
#8A3884 #5B8A38 #388A67
monochromatic
#331531 #5E265A #8A3884 #B54AAE #C775C1

Accessibility & contrast

On white

7.05
#8A3884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A3884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3884
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3884#FFFFFF#000000##FFFFFF
##8A38841.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335186
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#8F4058
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3884;
/* rgb */ color: rgb(138, 56, 132);
/* oklch */ color: oklch(48.1% 0.147 330.5);
Tailwind
colors: {
  custom: {
    50: '#af74a8',
    500: '#8a3884',
    950: '#000000',
  },
}
SCSS
$custom: #8a3884;
$custom-light: #af74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3884",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 304.39,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.147,
    "h": 330.5
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#8A3884
secondary
#6EB073
accent
#D25F56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3884

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

Preview Lab → · Contrast checker → · Palette generator →

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