#8A3784#8A3784

#8A3784 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.0% C 0.149 H 330.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A3784
RGBrgb(138, 55, 132)
HSLhsl(304, 43%, 38%)
HSVhsv(304, 60%, 54%)
CMYKcmyk(0%, 60.1%, 4.3%, 45.9%)
CIE-LABlab(37.49, 45.60, -26.68)
CIE-LCHlch(37.49, 52.83, 329.67°)
OKLaboklab(48.02% 0.1293 -0.0732)
OKLCHoklch(48.02% 0.149 330.5)
XYZxyz(16.0122, 9.8027, 22.8741)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3784 #378A3D
analogous
#66378A #8A3784 #8A375B
triadic
#8A3784 #848A37 #37848A
tetradic
#8A3784 #8A6637 #378A3D #375B8A
square
#8A3784 #8A6637 #378A3D #375B8A
split-complementary
#8A3784 #5B8A37 #378A66
monochromatic
#321430 #5E265A #8A3784 #B648AE #C874C1

Accessibility & contrast

On white

7.09
#8A3784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3784
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3784#FFFFFF#000000##FFFFFF
##8A37841.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325186
Deuteranopia (green-blind)
#4D5C82
Tritanopia (blue-blind)
#8F3F58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3784;
/* rgb */ color: rgb(138, 55, 132);
/* oklch */ color: oklch(48.0% 0.149 330.5);
Tailwind
colors: {
  custom: {
    50: '#af73a8',
    500: '#8a3784',
    950: '#000000',
  },
}
SCSS
$custom: #8a3784;
$custom-light: #af73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3784",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 304.337,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.14857,
    "h": 330.5
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#8A3784
secondary
#6DB071
accent
#D35E55
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3784

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

Preview Lab → · Contrast checker → · Palette generator →

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