#8A329B#8A329B

#8A329B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.177 H 320.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A329B
RGBrgb(138, 50, 155)
HSLhsl(290, 51%, 40%)
HSVhsv(290, 68%, 61%)
CMYKcmyk(11%, 67.7%, 0%, 39.2%)
CIE-LABlab(37.94, 52.17, -40.01)
CIE-LCHlch(37.94, 65.75, 322.52°)
OKLaboklab(48.76% 0.1368 -0.1117)
OKLCHoklch(48.76% 0.177 320.8)
XYZxyz(17.5375, 10.0519, 32.0204)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329B #439B32
analogous
#56329B #8A329B #9B3277
triadic
#8A329B #9B8A32 #329B8A
tetradic
#8A329B #9B5632 #439B32 #32779B
square
#8A329B #9B5632 #439B32 #32779B
split-complementary
#8A329B #779B32 #329B56
monochromatic
#38143E #61236D #8A329B #AF47C4 #C375D2

Accessibility & contrast

On white

6.98
#8A329B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A329B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329B#FFFFFF#000000##FFFFFF
##8A329B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#3D5C98
Tritanopia (blue-blind)
#8B4462
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a329b;
/* rgb */ color: rgb(138, 50, 155);
/* oklch */ color: oklch(48.8% 0.177 320.8);
Tailwind
colors: {
  custom: {
    50: '#af71b9',
    500: '#8a329b',
    950: '#000000',
  },
}
SCSS
$custom: #8a329b;
$custom-light: #af71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329b",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 290.286,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.17667,
    "h": 320.8
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#8A329B
secondary
#7BBB6E
accent
#DB4D64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A329B

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

Preview Lab → · Contrast checker → · Palette generator →

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