#882B9E#882B9E

#882B9E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 319.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#882B9E
RGBrgb(136, 43, 158)
HSLhsl(289, 57%, 39%)
HSVhsv(289, 73%, 62%)
CMYKcmyk(13.9%, 72.8%, 0%, 38%)
CIE-LABlab(36.80, 55.15, -43.65)
CIE-LCHlch(36.80, 70.34, 321.64°)
OKLaboklab(47.94% 0.1418 -0.1224)
OKLCHoklch(47.94% 0.187 319.2)
XYZxyz(17.1880, 9.4314, 33.2562)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B9E #419E2B
analogous
#4F2B9E #882B9E #9E2B7B
triadic
#882B9E #9E882B #2B9E88
tetradic
#882B9E #9E4F2B #419E2B #2B7B9E
square
#882B9E #9E4F2B #419E2B #2B7B9E
split-complementary
#882B9E #7B9E2B #2B9E4F
monochromatic
#35113E #5F1E6E #882B9E #AF3CCA #C36CD7

Accessibility & contrast

On white

7.28
#882B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#882B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B9E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B9E#FFFFFF#000000##FFFFFF
##882B9E1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#884162
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882b9e;
/* rgb */ color: rgb(136, 43, 158);
/* oklch */ color: oklch(47.9% 0.187 319.2);
Tailwind
colors: {
  custom: {
    50: '#ae6ebb',
    500: '#882b9e',
    950: '#000000',
  },
}
SCSS
$custom: #882b9e;
$custom-light: #ae6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#882b9e",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 288.522,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.18734,
    "h": 319.2
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#882B9E
secondary
#78BE67
accent
#E04765
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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