#8A328A#8A328A

#8A328A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.161 H 327.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A328A
RGBrgb(138, 50, 138)
HSLhsl(300, 47%, 37%)
HSVhsv(300, 64%, 54%)
CMYKcmyk(0%, 63.8%, 0%, 45.9%)
CIE-LABlab(36.97, 48.97, -31.18)
CIE-LCHlch(36.97, 58.05, 327.51°)
OKLaboklab(47.75% 0.1364 -0.0861)
OKLCHoklch(47.75% 0.161 327.7)
XYZxyz(16.2090, 9.5205, 25.0237)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A328A #328A32
analogous
#5E328A #8A328A #8A325E
triadic
#8A328A #8A8A32 #328A8A
tetradic
#8A328A #8A5E32 #328A32 #325E8A
square
#8A328A #8A5E32 #328A32 #325E8A
split-complementary
#8A328A #5E8A32 #328A5E
monochromatic
#301130 #5D225D #8A328A #B742B7 #CA6CCA

Accessibility & contrast

On white

7.23
#8A328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A328A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A328A#FFFFFF#000000##FFFFFF
##8A328A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#8E3D59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a328a;
/* rgb */ color: rgb(138, 50, 138);
/* oklch */ color: oklch(47.7% 0.161 327.7);
Tailwind
colors: {
  custom: {
    50: '#af70ac',
    500: '#8a328a',
    950: '#000000',
  },
}
SCSS
$custom: #8a328a;
$custom-light: #af70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a328a",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.1613,
    "h": 327.7
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#8A328A
secondary
#66B266
accent
#D65151
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A328A

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

Preview Lab → · Contrast checker → · Palette generator →

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