#8321B2#8321B2

#8321B2 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.8% C 0.214 H 311.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8321B2
RGBrgb(131, 33, 178)
HSLhsl(281, 69%, 41%)
HSVhsv(281, 81%, 70%)
CMYKcmyk(26.4%, 81.5%, 0%, 30.2%)
CIE-LABlab(36.23, 61.68, -56.60)
CIE-LCHlch(36.23, 83.71, 317.46°)
OKLaboklab(47.83% 0.1409 -0.1605)
OKLCHoklch(47.83% 0.214 311.3)
XYZxyz(17.9383, 9.1278, 42.9277)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8321B2 #50B221
analogous
#3B21B2 #8321B2 #B22199
triadic
#8321B2 #B28321 #21B283
tetradic
#8321B2 #B23B21 #50B221 #2199B2
square
#8321B2 #B23B21 #50B221 #2199B2
split-complementary
#8321B2 #99B221 #21B23B
monochromatic
#370E4B #5D177E #8321B2 #A536DA #BC6AE3

Accessibility & contrast

On white

7.43
#8321B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8321B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8321B2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8321B2#FFFFFF#000000##FFFFFF
##8321B21.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#7D466B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8321b2;
/* rgb */ color: rgb(131, 33, 178);
/* oklch */ color: oklch(47.8% 0.214 311.3);
Tailwind
colors: {
  custom: {
    50: '#ac6aca',
    500: '#8321b2',
    950: '#000000',
  },
}
SCSS
$custom: #8321b2;
$custom-light: #ac6aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8321b2",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 280.552,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.21361,
    "h": 311.3
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#8321B2
secondary
#86C966
accent
#EC3C75
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8321B2

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

Preview Lab → · Contrast checker → · Palette generator →

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