#8821B2#8821B2

#8821B2 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.215 H 313.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8821B2
RGBrgb(136, 33, 178)
HSLhsl(283, 69%, 41%)
HSVhsv(283, 81%, 70%)
CMYKcmyk(23.6%, 81.5%, 0%, 30.2%)
CIE-LABlab(37.00, 62.53, -55.32)
CIE-LCHlch(37.00, 83.49, 318.50°)
OKLaboklab(48.52% 0.1475 -0.1566)
OKLCHoklch(48.52% 0.215 313.3)
XYZxyz(18.7317, 9.5369, 42.9649)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8821B2 #4BB221
analogous
#4021B2 #8821B2 #B22194
triadic
#8821B2 #B28821 #21B288
tetradic
#8821B2 #B24021 #4BB221 #2194B2
square
#8821B2 #B24021 #4BB221 #2194B2
split-complementary
#8821B2 #94B221 #21B240
monochromatic
#390E4B #61177E #8821B2 #AA36DA #C06AE3

Accessibility & contrast

On white

7.22
#8821B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8821B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8821B2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8821B2#FFFFFF#000000##FFFFFF
##8821B21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0759AF
Tritanopia (blue-blind)
#83466B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8821b2;
/* rgb */ color: rgb(136, 33, 178);
/* oklch */ color: oklch(48.5% 0.215 313.3);
Tailwind
colors: {
  custom: {
    50: '#b06aca',
    500: '#8821b2',
    950: '#000000',
  },
}
SCSS
$custom: #8821b2;
$custom-light: #b06aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8821b2",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 282.621,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.21511,
    "h": 313.3
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#8821B2
secondary
#82C966
accent
#EC3C6F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8821B2

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

Preview Lab → · Contrast checker → · Palette generator →

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