#8321A2#8321A2

#8321A2 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.200 H 316.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8321A2
RGBrgb(131, 33, 162)
HSLhsl(286, 66%, 38%)
HSVhsv(286, 80%, 64%)
CMYKcmyk(19.1%, 79.6%, 0%, 36.5%)
CIE-LABlab(35.05, 58.46, -48.93)
CIE-LCHlch(35.05, 76.24, 320.07°)
OKLaboklab(46.63% 0.1442 -0.138)
OKLCHoklch(46.63% 0.2 316.3)
XYZxyz(16.4245, 8.5223, 34.9552)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8321A2 #40A221
analogous
#4221A2 #8321A2 #A22180
triadic
#8321A2 #A28321 #21A283
tetradic
#8321A2 #A24221 #40A221 #2180A2
square
#8321A2 #A24221 #40A221 #2180A2
split-complementary
#8321A2 #80A221 #21A242
monochromatic
#310C3C #5A176F #8321A2 #AC2CD4 #C05FDE

Accessibility & contrast

On white

7.77
#8321A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8321A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8321A2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8321A2#FFFFFF#000000##FFFFFF
##8321A21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#813F62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8321a2;
/* rgb */ color: rgb(131, 33, 162);
/* oklch */ color: oklch(46.6% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#ab69be',
    500: '#8321a2',
    950: '#000000',
  },
}
SCSS
$custom: #8321a2;
$custom-light: #ab69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8321a2",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 285.581,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.1996,
    "h": 316.3
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#8321A2
secondary
#75C35C
accent
#E93F68
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8321A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8321A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva