#882A79#882A79

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

Color values

HEX#882A79
RGBrgb(136, 42, 121)
HSLhsl(310, 53%, 35%)
HSVhsv(310, 69%, 53%)
CMYKcmyk(0%, 69.1%, 11%, 46.7%)
CIE-LABlab(34.54, 48.89, -24.47)
CIE-LCHlch(34.54, 54.67, 333.42°)
OKLaboklab(45.63% 0.1423 -0.0667)
OKLCHoklch(45.63% 0.157 334.9)
XYZxyz(14.4326, 8.2719, 18.9219)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A79 #2A8839
analogous
#682A88 #882A79 #882A4A
triadic
#882A79 #79882A #2A7988
tetradic
#882A79 #88682A #2A8839 #2A4A88
square
#882A79 #88682A #2A8839 #2A4A88
split-complementary
#882A79 #4A882A #2A8868
monochromatic
#2A0D26 #591C4F #882A79 #B738A3 #CE5FBC

Accessibility & contrast

On white

7.91
#882A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#882A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A79
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A79#FFFFFF#000000##FFFFFF
##882A791.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#495677
Tritanopia (blue-blind)
#8F314E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #882a79;
/* rgb */ color: rgb(136, 42, 121);
/* oklch */ color: oklch(45.6% 0.157 334.9);
Tailwind
colors: {
  custom: {
    50: '#ae6ca0',
    500: '#882a79',
    950: '#000000',
  },
}
SCSS
$custom: #882a79;
$custom-light: #ae6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#882a79",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 309.574,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.15715,
    "h": 334.9
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#882A79
secondary
#5BB369
accent
#DC634C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882A79

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

Preview Lab → · Contrast checker → · Palette generator →

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