#882C8B#882C8B

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

Color values

HEX#882C8B
RGBrgb(136, 44, 139)
HSLhsl(298, 52%, 36%)
HSVhsv(298, 68%, 55%)
CMYKcmyk(2.2%, 68.3%, 0%, 45.5%)
CIE-LABlab(35.79, 51.18, -33.68)
CIE-LCHlch(35.79, 61.27, 326.65°)
OKLaboklab(46.85% 0.1413 -0.0933)
OKLCHoklch(46.85% 0.169 326.5)
XYZxyz(15.7139, 8.9007, 25.3114)
Luminance0.0890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882C8B #2F8B2C
analogous
#582C8B #882C8B #8B2C5E
triadic
#882C8B #8B882C #2C8B88
tetradic
#882C8B #8B582C #2F8B2C #2C5E8B
square
#882C8B #8B582C #2F8B2C #2C5E8B
split-complementary
#882C8B #5E8B2C #2C8B58
monochromatic
#2D0F2E #5B1D5D #882C8B #B53BB9 #CA64CE

Accessibility & contrast

On white

7.55
#882C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#882C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882C8B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882C8B#FFFFFF#000000##FFFFFF
##882C8B1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882c8b;
/* rgb */ color: rgb(136, 44, 139);
/* oklch */ color: oklch(46.8% 0.169 326.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dad',
    500: '#882c8b',
    950: '#000000',
  },
}
SCSS
$custom: #882c8b;
$custom-light: #ae6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#882c8b",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 298.105,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.16931,
    "h": 326.5
  },
  "luminance": 0.089
}

Semantic roles & 50–950 ramp

primary
#882C8B
secondary
#61B45F
accent
#DB4C51
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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