#882B9B#882B9B

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

Color values

HEX#882B9B
RGBrgb(136, 43, 155)
HSLhsl(290, 57%, 39%)
HSVhsv(290, 72%, 61%)
CMYKcmyk(12.3%, 72.3%, 0%, 39.2%)
CIE-LABlab(36.61, 54.57, -42.14)
CIE-LCHlch(36.61, 68.95, 322.32°)
OKLaboklab(47.75% 0.142 -0.118)
OKLCHoklch(47.75% 0.185 320.3)
XYZxyz(16.9329, 9.3294, 31.9128)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B9B #3E9B2B
analogous
#502B9B #882B9B #9B2B76
triadic
#882B9B #9B882B #2B9B88
tetradic
#882B9B #9B502B #3E9B2B #2B769B
square
#882B9B #9B502B #3E9B2B #2B769B
split-complementary
#882B9B #769B2B #2B9B50
monochromatic
#34103B #5E1E6B #882B9B #B03BC9 #C46BD6

Accessibility & contrast

On white

7.33
#882B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#882B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B9B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B9B#FFFFFF#000000##FFFFFF
##882B9B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#894060
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882b9b;
/* rgb */ color: rgb(136, 43, 155);
/* oklch */ color: oklch(47.7% 0.185 320.3);
Tailwind
colors: {
  custom: {
    50: '#ae6db9',
    500: '#882b9b',
    950: '#000000',
  },
}
SCSS
$custom: #882b9b;
$custom-light: #ae6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#882b9b",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 289.821,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.18464,
    "h": 320.3
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#882B9B
secondary
#74BC65
accent
#E04862
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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