#8A328D#8A328D

#8A328D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.164 H 326.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A328D
RGBrgb(138, 50, 141)
HSLhsl(298, 48%, 37%)
HSVhsv(298, 65%, 55%)
CMYKcmyk(2.1%, 64.5%, 0%, 44.7%)
CIE-LABlab(37.13, 49.51, -32.77)
CIE-LCHlch(37.13, 59.37, 326.50°)
OKLaboklab(47.92% 0.1366 -0.0907)
OKLCHoklch(47.92% 0.164 326.4)
XYZxyz(16.4292, 9.6086, 26.1834)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A328D #358D32
analogous
#5D328D #8A328D #8D3263
triadic
#8A328D #8D8A32 #328D8A
tetradic
#8A328D #8D5D32 #358D32 #32638D
square
#8A328D #8D5D32 #358D32 #32638D
split-complementary
#8A328D #638D32 #328D5D
monochromatic
#321233 #5E2260 #8A328D #B642BA #C86ECC

Accessibility & contrast

On white

7.19
#8A328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A328D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A328D#FFFFFF#000000##FFFFFF
##8A328D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#8E3F5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a328d;
/* rgb */ color: rgb(138, 50, 141);
/* oklch */ color: oklch(47.9% 0.164 326.4);
Tailwind
colors: {
  custom: {
    50: '#af71af',
    500: '#8a328d',
    950: '#000000',
  },
}
SCSS
$custom: #8a328d;
$custom-light: #af71af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a328d",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 298.022,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47916,
    "c": 0.16395,
    "h": 326.4
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#8A328D
secondary
#6AB368
accent
#D75155
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A328D

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

Preview Lab → · Contrast checker → · Palette generator →

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