#882D8A#882D8A

#882D8A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 327.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#882D8A
RGBrgb(136, 45, 138)
HSLhsl(299, 51%, 36%)
HSVhsv(299, 67%, 54%)
CMYKcmyk(1.4%, 67.4%, 0%, 45.9%)
CIE-LABlab(35.88, 50.59, -32.92)
CIE-LCHlch(35.88, 60.36, 326.95°)
OKLaboklab(46.9% 0.1401 -0.0911)
OKLCHoklch(46.9% 0.167 327)
XYZxyz(15.6789, 8.9470, 24.9410)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D8A #2F8A2D
analogous
#592D8A #882D8A #8A2D5D
triadic
#882D8A #8A882D #2D8A88
tetradic
#882D8A #8A592D #2F8A2D #2D5D8A
square
#882D8A #8A592D #2F8A2D #2D5D8A
split-complementary
#882D8A #5D8A2D #2D8A59
monochromatic
#2D0F2E #5B1E5C #882D8A #B53CB8 #CA65CD

Accessibility & contrast

On white

7.53
#882D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#882D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D8A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D8A#FFFFFF#000000##FFFFFF
##882D8A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#8C3A58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882d8a;
/* rgb */ color: rgb(136, 45, 138);
/* oklch */ color: oklch(46.9% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#ae6eac',
    500: '#882d8a',
    950: '#000000',
  },
}
SCSS
$custom: #882d8a;
$custom-light: #ae6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#882d8a",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 298.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.16712,
    "h": 327
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#882D8A
secondary
#61B360
accent
#DA4D51
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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