#882E8A#882E8A

#882E8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.166 H 326.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#882E8A
RGBrgb(136, 46, 138)
HSLhsl(299, 50%, 36%)
HSVhsv(299, 67%, 54%)
CMYKcmyk(1.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(36.03, 50.17, -32.68)
CIE-LCHlch(36.03, 59.88, 326.92°)
OKLaboklab(47% 0.1389 -0.0905)
OKLCHoklch(47% 0.166 326.9)
XYZxyz(15.7175, 9.0242, 24.9538)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E8A #308A2E
analogous
#5A2E8A #882E8A #8A2E5E
triadic
#882E8A #8A882E #2E8A88
tetradic
#882E8A #8A5A2E #308A2E #2E5E8A
square
#882E8A #8A5A2E #308A2E #2E5E8A
split-complementary
#882E8A #5E8A2E #2E8A5A
monochromatic
#2E0F2E #5B1F5C #882E8A #B53DB8 #CA66CC

Accessibility & contrast

On white

7.49
#882E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#882E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E8A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E8A#FFFFFF#000000##FFFFFF
##882E8A1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#8C3B58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882e8a;
/* rgb */ color: rgb(136, 46, 138);
/* oklch */ color: oklch(47.0% 0.166 326.9);
Tailwind
colors: {
  custom: {
    50: '#ae6eac',
    500: '#882e8a',
    950: '#000000',
  },
}
SCSS
$custom: #882e8a;
$custom-light: #ae6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#882e8a",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 298.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47003,
    "c": 0.16577,
    "h": 326.9
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#882E8A
secondary
#63B361
accent
#DA4E51
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#882E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva