#8A3384#8A3384

#8A3384 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.5% C 0.155 H 330.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A3384
RGBrgb(138, 51, 132)
HSLhsl(304, 46%, 37%)
HSVhsv(304, 63%, 54%)
CMYKcmyk(0%, 63%, 4.3%, 45.9%)
CIE-LABlab(36.81, 47.45, -27.73)
CIE-LCHlch(36.81, 54.96, 329.70°)
OKLaboklab(47.53% 0.1346 -0.0761)
OKLCHoklch(47.53% 0.155 330.5)
XYZxyz(15.8298, 9.4380, 22.8133)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3384 #338A39
analogous
#65338A #8A3384 #8A3359
triadic
#8A3384 #848A33 #33848A
tetradic
#8A3384 #8A6533 #338A39 #33598A
square
#8A3384 #8A6533 #338A39 #33598A
split-complementary
#8A3384 #598A33 #338A65
monochromatic
#31122F #5D2259 #8A3384 #B744AF #C96EC3

Accessibility & contrast

On white

7.27
#8A3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3384
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3384#FFFFFF#000000##FFFFFF
##8A33841.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F86
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#8F3C57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3384;
/* rgb */ color: rgb(138, 51, 132);
/* oklch */ color: oklch(47.5% 0.155 330.5);
Tailwind
colors: {
  custom: {
    50: '#af71a8',
    500: '#8a3384',
    950: '#000000',
  },
}
SCSS
$custom: #8a3384;
$custom-light: #af71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3384",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 304.138,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.15464,
    "h": 330.5
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#8A3384
secondary
#67B16D
accent
#D65B52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3384

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

Preview Lab → · Contrast checker → · Palette generator →

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