#882C8D#882C8D

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

Color values

HEX#882C8D
RGBrgb(136, 44, 141)
HSLhsl(297, 52%, 36%)
HSVhsv(297, 69%, 55%)
CMYKcmyk(3.5%, 68.8%, 0%, 44.7%)
CIE-LABlab(35.91, 51.54, -34.73)
CIE-LCHlch(35.91, 62.15, 326.03°)
OKLaboklab(46.97% 0.1413 -0.0964)
OKLCHoklch(46.97% 0.171 325.7)
XYZxyz(15.8614, 8.9597, 26.0881)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882C8D #318D2C
analogous
#582C8D #882C8D #8D2C62
triadic
#882C8D #8D882C #2C8D88
tetradic
#882C8D #8D582C #318D2C #2C628D
square
#882C8D #8D582C #318D2C #2C628D
split-complementary
#882C8D #628D2C #2C8D58
monochromatic
#2E0F30 #5B1D5E #882C8D #B53BBC #C965CF

Accessibility & contrast

On white

7.52
#882C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882C8D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882C8D#FFFFFF#000000##FFFFFF
##882C8D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#40588B
Tritanopia (blue-blind)
#8B3B59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882c8d;
/* rgb */ color: rgb(136, 44, 141);
/* oklch */ color: oklch(47.0% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#ae6daf',
    500: '#882c8d',
    950: '#000000',
  },
}
SCSS
$custom: #882c8d;
$custom-light: #ae6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#882c8d",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 296.907,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.17103,
    "h": 325.7
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#882C8D
secondary
#64B560
accent
#DC4C53
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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