#8A327F#8A327F

#8A327F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.152 H 332.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A327F
RGBrgb(138, 50, 127)
HSLhsl(308, 47%, 37%)
HSVhsv(308, 64%, 54%)
CMYKcmyk(0%, 63.8%, 8%, 45.9%)
CIE-LABlab(36.40, 47.03, -25.28)
CIE-LCHlch(36.40, 53.39, 331.74°)
OKLaboklab(47.15% 0.1353 -0.0691)
OKLCHoklch(47.15% 0.152 332.9)
XYZxyz(15.4526, 9.2180, 21.0399)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A327F #328A3D
analogous
#69328A #8A327F #8A3253
triadic
#8A327F #7F8A32 #327F8A
tetradic
#8A327F #8A6932 #328A3D #32538A
square
#8A327F #8A6932 #328A3D #32538A
split-complementary
#8A327F #538A32 #328A69
monochromatic
#30112C #5D2256 #8A327F #B742A8 #CA6CBE

Accessibility & contrast

On white

7.39
#8A327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A327F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A327F#FFFFFF#000000##FFFFFF
##8A327F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E81
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#903954
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a327f;
/* rgb */ color: rgb(138, 50, 127);
/* oklch */ color: oklch(47.1% 0.152 332.9);
Tailwind
colors: {
  custom: {
    50: '#af70a4',
    500: '#8a327f',
    950: '#000000',
  },
}
SCSS
$custom: #8a327f;
$custom-light: #af70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a327f",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 307.5,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.15192,
    "h": 332.9
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#8A327F
secondary
#66B270
accent
#D66251
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A327F

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

Preview Lab → · Contrast checker → · Palette generator →

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