#8326A2#8326A2

#8326A2 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.195 H 316.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8326A2
RGBrgb(131, 38, 162)
HSLhsl(285, 62%, 39%)
HSVhsv(285, 77%, 64%)
CMYKcmyk(19.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(35.64, 56.77, -47.98)
CIE-LCHlch(35.64, 74.33, 319.79°)
OKLaboklab(47.04% 0.1399 -0.1352)
OKLCHoklch(47.04% 0.195 316)
XYZxyz(16.5737, 8.8208, 35.0050)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8326A2 #45A226
analogous
#4526A2 #8326A2 #A22683
triadic
#8326A2 #A28326 #26A283
tetradic
#8326A2 #A24526 #45A226 #2683A2
square
#8326A2 #A24526 #45A226 #2683A2
split-complementary
#8326A2 #83A226 #26A245
monochromatic
#330F3F #5B1A70 #8326A2 #A935D0 #BE67DB

Accessibility & contrast

On white

7.60
#8326A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8326A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8326A2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8326A2#FFFFFF#000000##FFFFFF
##8326A21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#24569F
Tritanopia (blue-blind)
#814163
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8326a2;
/* rgb */ color: rgb(131, 38, 162);
/* oklch */ color: oklch(47.0% 0.195 316.0);
Tailwind
colors: {
  custom: {
    50: '#ab6bbe',
    500: '#8326a2',
    950: '#000000',
  },
}
SCSS
$custom: #8326a2;
$custom-light: #ab6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8326a2",
  "rgb": {
    "r": 131,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47043,
    "c": 0.19458,
    "h": 316
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#8326A2
secondary
#7AC163
accent
#E5436B
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8326A2

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

Preview Lab → · Contrast checker → · Palette generator →

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