#8A3984#8A3984

#8A3984 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.3% C 0.145 H 330.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A3984
RGBrgb(138, 57, 132)
HSLhsl(304, 42%, 38%)
HSVhsv(304, 59%, 54%)
CMYKcmyk(0%, 58.7%, 4.3%, 45.9%)
CIE-LABlab(37.84, 44.65, -26.13)
CIE-LCHlch(37.84, 51.73, 329.66°)
OKLaboklab(48.28% 0.1266 -0.0716)
OKLCHoklch(48.28% 0.145 330.5)
XYZxyz(16.1091, 9.9966, 22.9064)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3984 #398A3F
analogous
#67398A #8A3984 #8A395B
triadic
#8A3984 #848A39 #39848A
tetradic
#8A3984 #8A6739 #398A3F #395B8A
square
#8A3984 #8A6739 #398A3F #395B8A
split-complementary
#8A3984 #5B8A39 #398A67
monochromatic
#331531 #5F275B #8A3984 #B54BAD #C777C1

Accessibility & contrast

On white

7.00
#8A3984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A3984 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3984
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3984#FFFFFF#000000##FFFFFF
##8A39841.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#4E5D82
Tritanopia (blue-blind)
#8F4159
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3984;
/* rgb */ color: rgb(138, 57, 132);
/* oklch */ color: oklch(48.3% 0.145 330.5);
Tailwind
colors: {
  custom: {
    50: '#ae74a8',
    500: '#8a3984',
    950: '#000000',
  },
}
SCSS
$custom: #8a3984;
$custom-light: #ae74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3984",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 304.444,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.14542,
    "h": 330.5
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#8A3984
secondary
#6FB074
accent
#D16056
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3984

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

Preview Lab → · Contrast checker → · Palette generator →

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