#8821BA#8821BA

#8821BA is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.222 H 311.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8821BA
RGBrgb(136, 33, 186)
HSLhsl(280, 70%, 43%)
HSVhsv(280, 82%, 73%)
CMYKcmyk(26.9%, 82.3%, 0%, 27.1%)
CIE-LABlab(37.60, 64.14, -59.07)
CIE-LCHlch(37.60, 87.20, 317.36°)
OKLaboklab(49.13% 0.1456 -0.1676)
OKLCHoklch(49.13% 0.222 311)
XYZxyz(19.5584, 9.8676, 47.3192)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8821BA #53BA21
analogous
#3B21BA #8821BA #BA219F
triadic
#8821BA #BA8821 #21BA88
tetradic
#8821BA #BA3B21 #53BA21 #219FBA
square
#8821BA #BA3B21 #53BA21 #219FBA
split-complementary
#8821BA #9FBA21 #21BA3B
monochromatic
#3C0F52 #621886 #8821BA #A83CDC #BF70E6

Accessibility & contrast

On white

7.06
#8821BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8821BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8821BA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8821BA#FFFFFF#000000##FFFFFF
##8821BA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#814970
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8821ba;
/* rgb */ color: rgb(136, 33, 186);
/* oklch */ color: oklch(49.1% 0.222 311.0);
Tailwind
colors: {
  custom: {
    50: '#b06bd0',
    500: '#8821ba',
    950: '#000000',
  },
}
SCSS
$custom: #8821ba;
$custom-light: #b06bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8821ba",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 280.392,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.22204,
    "h": 311
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#8821BA
secondary
#8BCC6B
accent
#ED3B75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8821BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8821BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva