#8A327D#8A327D

#8A327D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.0% C 0.150 H 334.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A327D
RGBrgb(138, 50, 125)
HSLhsl(309, 47%, 37%)
HSVhsv(309, 64%, 54%)
CMYKcmyk(0%, 63.8%, 9.4%, 45.9%)
CIE-LABlab(36.30, 46.69, -24.19)
CIE-LCHlch(36.30, 52.58, 332.61°)
OKLaboklab(47.04% 0.135 -0.066)
OKLCHoklch(47.04% 0.15 334)
XYZxyz(15.3236, 9.1663, 20.3603)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A327D #328A3F
analogous
#6B328A #8A327D #8A3251
triadic
#8A327D #7D8A32 #327D8A
tetradic
#8A327D #8A6B32 #328A3F #32518A
square
#8A327D #8A6B32 #328A3F #32518A
split-complementary
#8A327D #518A32 #328A6B
monochromatic
#30112C #5D2254 #8A327D #B742A6 #CA6CBC

Accessibility & contrast

On white

7.41
#8A327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A327D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A327D#FFFFFF#000000##FFFFFF
##8A327D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#903853
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a327d;
/* rgb */ color: rgb(138, 50, 125);
/* oklch */ color: oklch(47.0% 0.150 334.0);
Tailwind
colors: {
  custom: {
    50: '#af70a3',
    500: '#8a327d',
    950: '#000000',
  },
}
SCSS
$custom: #8a327d;
$custom-light: #af70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a327d",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 308.864,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.15027,
    "h": 334
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#8A327D
secondary
#66B271
accent
#D66551
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A327D

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

Preview Lab → · Contrast checker → · Palette generator →

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