#882D8B#882D8B

#882D8B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.168 H 326.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#882D8B
RGBrgb(136, 45, 139)
HSLhsl(298, 51%, 36%)
HSVhsv(298, 68%, 55%)
CMYKcmyk(2.2%, 67.6%, 0%, 45.5%)
CIE-LABlab(35.94, 50.77, -33.45)
CIE-LCHlch(35.94, 60.80, 326.62°)
OKLaboklab(46.95% 0.1401 -0.0927)
OKLCHoklch(46.95% 0.168 326.5)
XYZxyz(15.7516, 8.9761, 25.3240)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D8B #308B2D
analogous
#592D8B #882D8B #8B2D5F
triadic
#882D8B #8B882D #2D8B88
tetradic
#882D8B #8B592D #308B2D #2D5F8B
square
#882D8B #8B592D #308B2D #2D5F8B
split-complementary
#882D8B #5F8B2D #2D8B59
monochromatic
#2E0F2F #5B1E5D #882D8B #B53CB9 #CA65CD

Accessibility & contrast

On white

7.51
#882D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#882D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D8B
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D8B#FFFFFF#000000##FFFFFF
##882D8B1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8E
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#8C3B58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882d8b;
/* rgb */ color: rgb(136, 45, 139);
/* oklch */ color: oklch(47.0% 0.168 326.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ead',
    500: '#882d8b',
    950: '#000000',
  },
}
SCSS
$custom: #882d8b;
$custom-light: #ae6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#882d8b",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 298.085,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.16798,
    "h": 326.5
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#882D8B
secondary
#63B460
accent
#DB4D52
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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