#8321B4#8321B4

#8321B4 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.215 H 310.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8321B4
RGBrgb(131, 33, 180)
HSLhsl(280, 69%, 42%)
HSVhsv(280, 82%, 71%)
CMYKcmyk(27.2%, 81.7%, 0%, 29.4%)
CIE-LABlab(36.38, 62.09, -57.54)
CIE-LCHlch(36.38, 84.65, 317.18°)
OKLaboklab(47.98% 0.1405 -0.1633)
OKLCHoklch(47.98% 0.215 310.7)
XYZxyz(18.1405, 9.2087, 43.9930)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8321B4 #52B421
analogous
#3A21B4 #8321B4 #B4219C
triadic
#8321B4 #B48321 #21B483
tetradic
#8321B4 #B43A21 #52B421 #219CB4
square
#8321B4 #B43A21 #52B421 #219CB4
split-complementary
#8321B4 #9CB421 #21B43A
monochromatic
#380E4D #5D1880 #8321B4 #A438DA #BC6BE4

Accessibility & contrast

On white

7.39
#8321B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8321B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8321B4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8321B4#FFFFFF#000000##FFFFFF
##8321B41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#7C476C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8321b4;
/* rgb */ color: rgb(131, 33, 180);
/* oklch */ color: oklch(48.0% 0.215 310.7);
Tailwind
colors: {
  custom: {
    50: '#ac6acb',
    500: '#8321b4',
    950: '#000000',
  },
}
SCSS
$custom: #8321b4;
$custom-light: #ac6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8321b4",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 180
  },
  "hsl": {
    "h": 280,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.21538,
    "h": 310.7
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#8321B4
secondary
#88CA67
accent
#EC3C77
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8321B4

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

Preview Lab → · Contrast checker → · Palette generator →

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