#8A3280#8A3280

#8A3280 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.153 H 332.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A3280
RGBrgb(138, 50, 128)
HSLhsl(307, 47%, 37%)
HSVhsv(307, 64%, 54%)
CMYKcmyk(0%, 63.8%, 7.2%, 45.9%)
CIE-LABlab(36.45, 47.20, -25.82)
CIE-LCHlch(36.45, 53.80, 331.32°)
OKLaboklab(47.2% 0.1354 -0.0707)
OKLCHoklch(47.2% 0.153 332.4)
XYZxyz(15.5181, 9.2442, 21.3849)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3280 #328A3C
analogous
#68328A #8A3280 #8A3254
triadic
#8A3280 #808A32 #32808A
tetradic
#8A3280 #8A6832 #328A3C #32548A
square
#8A3280 #8A6832 #328A3C #32548A
split-complementary
#8A3280 #548A32 #328A68
monochromatic
#30112D #5D2256 #8A3280 #B742AA #CA6CBF

Accessibility & contrast

On white

7.37
#8A3280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A3280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3280
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3280#FFFFFF#000000##FFFFFF
##8A32801.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E82
Deuteranopia (green-blind)
#4C5A7E
Tritanopia (blue-blind)
#903A54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3280;
/* rgb */ color: rgb(138, 50, 128);
/* oklch */ color: oklch(47.2% 0.153 332.4);
Tailwind
colors: {
  custom: {
    50: '#af70a5',
    500: '#8a3280',
    950: '#000000',
  },
}
SCSS
$custom: #8a3280;
$custom-light: #af70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3280",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 306.818,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.472,
    "c": 0.15275,
    "h": 332.4
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#8A3280
secondary
#66B26F
accent
#D66051
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3280

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

Preview Lab → · Contrast checker → · Palette generator →

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