#8B219A#8B219A

#8B219A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.196 H 322.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8B219A
RGBrgb(139, 33, 154)
HSLhsl(293, 65%, 37%)
HSVhsv(293, 79%, 60%)
CMYKcmyk(9.7%, 78.6%, 0%, 39.6%)
CIE-LABlab(35.81, 58.52, -42.79)
CIE-LCHlch(35.81, 72.49, 323.82°)
OKLaboklab(47.25% 0.1551 -0.1197)
OKLCHoklch(47.25% 0.196 322.3)
XYZxyz(17.0235, 8.9108, 31.3889)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B219A #309A21
analogous
#4F219A #8B219A #9A216D
triadic
#8B219A #9A8B21 #219A8B
tetradic
#8B219A #9A4F21 #309A21 #216D9A
square
#8B219A #9A4F21 #309A21 #216D9A
split-complementary
#8B219A #6D9A21 #219A4F
monochromatic
#300B35 #5E1668 #8B219A #B82CCC #CC5ADC

Accessibility & contrast

On white

7.55
#8B219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8B219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B219A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B219A#FFFFFF#000000##FFFFFF
##8B219A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#8D395D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b219a;
/* rgb */ color: rgb(139, 33, 154);
/* oklch */ color: oklch(47.3% 0.196 322.3);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8b219a',
    950: '#000000',
  },
}
SCSS
$custom: #8b219a;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b219a",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 292.562,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.19591,
    "h": 322.3
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#8B219A
secondary
#64C057
accent
#E84055
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B219A

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

Preview Lab → · Contrast checker → · Palette generator →

#8B219A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva