#882B79#882B79

#882B79 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.156 H 334.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#882B79
RGBrgb(136, 43, 121)
HSLhsl(310, 52%, 35%)
HSVhsv(310, 68%, 53%)
CMYKcmyk(0%, 68.4%, 11%, 46.7%)
CIE-LABlab(34.69, 48.49, -24.24)
CIE-LCHlch(34.69, 54.21, 333.44°)
OKLaboklab(45.74% 0.1411 -0.0661)
OKLCHoklch(45.74% 0.156 334.9)
XYZxyz(14.4685, 8.3437, 18.9339)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B79 #2B883A
analogous
#682B88 #882B79 #882B4B
triadic
#882B79 #79882B #2B7988
tetradic
#882B79 #88682B #2B883A #2B4B88
square
#882B79 #88682B #2B883A #2B4B88
split-complementary
#882B79 #4B882B #2B8868
monochromatic
#2B0E26 #5A1C50 #882B79 #B63AA2 #CD61BB

Accessibility & contrast

On white

7.87
#882B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#882B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B79
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B79#FFFFFF#000000##FFFFFF
##882B791.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#8F324E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882b79;
/* rgb */ color: rgb(136, 43, 121);
/* oklch */ color: oklch(45.7% 0.156 334.9);
Tailwind
colors: {
  custom: {
    50: '#ae6ca0',
    500: '#882b79',
    950: '#000000',
  },
}
SCSS
$custom: #882b79;
$custom-light: #ae6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#882b79",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 309.677,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.15579,
    "h": 334.9
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#882B79
secondary
#5CB36A
accent
#DB634C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882B79

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

Preview Lab → · Contrast checker → · Palette generator →

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