#882A9B#882A9B

#882A9B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.186 H 320.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#882A9B
RGBrgb(136, 42, 155)
HSLhsl(290, 57%, 39%)
HSVhsv(290, 73%, 61%)
CMYKcmyk(12.3%, 72.9%, 0%, 39.2%)
CIE-LABlab(36.48, 54.95, -42.36)
CIE-LCHlch(36.48, 69.39, 322.37°)
OKLaboklab(47.65% 0.1431 -0.1186)
OKLCHoklch(47.65% 0.186 320.3)
XYZxyz(16.8970, 9.2576, 31.9009)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A9B #3D9B2A
analogous
#502A9B #882A9B #9B2A75
triadic
#882A9B #9B882A #2A9B88
tetradic
#882A9B #9B502A #3D9B2A #2A759B
square
#882A9B #9B502A #3D9B2A #2A759B
split-complementary
#882A9B #759B2A #2A9B50
monochromatic
#33103B #5E1D6B #882A9B #B139C9 #C469D6

Accessibility & contrast

On white

7.36
#882A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#882A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A9B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A9B#FFFFFF#000000##FFFFFF
##882A9B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#894060
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882a9b;
/* rgb */ color: rgb(136, 42, 155);
/* oklch */ color: oklch(47.6% 0.186 320.3);
Tailwind
colors: {
  custom: {
    50: '#ae6db9',
    500: '#882a9b',
    950: '#000000',
  },
}
SCSS
$custom: #882a9b;
$custom-light: #ae6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#882a9b",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 289.912,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.18584,
    "h": 320.3
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#882A9B
secondary
#73BD64
accent
#E14761
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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