#8A329C#8A329C

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

Color values

HEX#8A329C
RGBrgb(138, 50, 156)
HSLhsl(290, 51%, 40%)
HSVhsv(290, 68%, 61%)
CMYKcmyk(11.5%, 67.9%, 0%, 38.8%)
CIE-LABlab(38.00, 52.37, -40.52)
CIE-LCHlch(38.00, 66.21, 322.27°)
OKLaboklab(48.82% 0.1368 -0.1132)
OKLCHoklch(48.82% 0.178 320.4)
XYZxyz(17.6219, 10.0856, 32.4646)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329C #449C32
analogous
#55329C #8A329C #9C3279
triadic
#8A329C #9C8A32 #329C8A
tetradic
#8A329C #9C5532 #449C32 #32799C
square
#8A329C #9C5532 #449C32 #32799C
split-complementary
#8A329C #799C32 #329C55
monochromatic
#38143F #61236E #8A329C #AF47C4 #C375D3

Accessibility & contrast

On white

6.96
#8A329C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A329C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329C#FFFFFF#000000##FFFFFF
##8A329C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539F
Deuteranopia (green-blind)
#3C5D99
Tritanopia (blue-blind)
#8B4563
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a329c;
/* rgb */ color: rgb(138, 50, 156);
/* oklch */ color: oklch(48.8% 0.178 320.4);
Tailwind
colors: {
  custom: {
    50: '#af71ba',
    500: '#8a329c',
    950: '#000000',
  },
}
SCSS
$custom: #8a329c;
$custom-light: #af71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329c",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 289.811,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.1776,
    "h": 320.4
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#8A329C
secondary
#7CBB6F
accent
#DB4D65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A329C

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

Preview Lab → · Contrast checker → · Palette generator →

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