#8327A2#8327A2

#8327A2 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.194 H 315.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8327A2
RGBrgb(131, 39, 162)
HSLhsl(285, 61%, 39%)
HSVhsv(285, 76%, 64%)
CMYKcmyk(19.1%, 75.9%, 0%, 36.5%)
CIE-LABlab(35.76, 56.40, -47.78)
CIE-LCHlch(35.76, 73.92, 319.73°)
OKLaboklab(47.13% 0.139 -0.1346)
OKLCHoklch(47.13% 0.194 315.9)
XYZxyz(16.6062, 8.8856, 35.0158)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8327A2 #46A227
analogous
#4627A2 #8327A2 #A22784
triadic
#8327A2 #A28327 #27A283
tetradic
#8327A2 #A24627 #46A227 #2784A2
square
#8327A2 #A24627 #46A227 #2784A2
split-complementary
#8327A2 #84A227 #27A246
monochromatic
#330F3F #5B1B71 #8327A2 #A937CF #BE69DB

Accessibility & contrast

On white

7.56
#8327A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8327A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8327A2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8327A2#FFFFFF#000000##FFFFFF
##8327A21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#25579F
Tritanopia (blue-blind)
#814263
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8327a2;
/* rgb */ color: rgb(131, 39, 162);
/* oklch */ color: oklch(47.1% 0.194 315.9);
Tailwind
colors: {
  custom: {
    50: '#ab6bbe',
    500: '#8327a2',
    950: '#000000',
  },
}
SCSS
$custom: #8327a2;
$custom-light: #ab6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8327a2",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 284.878,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.19351,
    "h": 315.9
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#8327A2
secondary
#7BC164
accent
#E4436C
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8327A2

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

Preview Lab → · Contrast checker → · Palette generator →

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