#882C8A#882C8A

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

Color values

HEX#882C8A
RGBrgb(136, 44, 138)
HSLhsl(299, 52%, 36%)
HSVhsv(299, 68%, 54%)
CMYKcmyk(1.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(35.74, 51.00, -33.15)
CIE-LCHlch(35.74, 60.83, 326.97°)
OKLaboklab(46.79% 0.1412 -0.0918)
OKLCHoklch(46.79% 0.168 327)
XYZxyz(15.6412, 8.8716, 24.9284)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882C8A #2E8A2C
analogous
#592C8A #882C8A #8A2C5D
triadic
#882C8A #8A882C #2C8A88
tetradic
#882C8A #8A592C #2E8A2C #2C5D8A
square
#882C8A #8A592C #2E8A2C #2C5D8A
split-complementary
#882C8A #5D8A2C #2C8A59
monochromatic
#2D0E2D #5A1D5C #882C8A #B63BB8 #CB63CD

Accessibility & contrast

On white

7.57
#882C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#882C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882C8A
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882C8A#FFFFFF#000000##FFFFFF
##882C8A1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882c8a;
/* rgb */ color: rgb(136, 44, 138);
/* oklch */ color: oklch(46.8% 0.168 327.0);
Tailwind
colors: {
  custom: {
    50: '#ae6dac',
    500: '#882c8a',
    950: '#000000',
  },
}
SCSS
$custom: #882c8a;
$custom-light: #ae6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#882c8a",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 298.723,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4679,
    "c": 0.16844,
    "h": 327
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#882C8A
secondary
#60B45E
accent
#DB4D50
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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