#882B8A#882B8A

#882B8A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.170 H 327.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#882B8A
RGBrgb(136, 43, 138)
HSLhsl(299, 52%, 35%)
HSVhsv(299, 69%, 54%)
CMYKcmyk(1.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(35.59, 51.40, -33.38)
CIE-LCHlch(35.59, 61.29, 327.00°)
OKLaboklab(46.69% 0.1424 -0.0924)
OKLCHoklch(46.69% 0.17 327)
XYZxyz(15.6044, 8.7980, 24.9161)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B8A #2D8A2B
analogous
#582B8A #882B8A #8A2B5C
triadic
#882B8A #8A882B #2B8A88
tetradic
#882B8A #8A582B #2D8A2B #2B5C8A
square
#882B8A #8A582B #2D8A2B #2B5C8A
split-complementary
#882B8A #5C8A2B #2B8A58
monochromatic
#2C0E2D #5A1C5B #882B8A #B63AB9 #CC61CE

Accessibility & contrast

On white

7.61
#882B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#882B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B8A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B8A#FFFFFF#000000##FFFFFF
##882B8A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#8C3957
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882b8a;
/* rgb */ color: rgb(136, 43, 138);
/* oklch */ color: oklch(46.7% 0.170 327.0);
Tailwind
colors: {
  custom: {
    50: '#ae6dac',
    500: '#882b8a',
    950: '#000000',
  },
}
SCSS
$custom: #882b8a;
$custom-light: #ae6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#882b8a",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 298.737,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.16975,
    "h": 327
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#882B8A
secondary
#5FB45D
accent
#DC4C4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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