#882B8D#882B8D

#882B8D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.172 H 325.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#882B8D
RGBrgb(136, 43, 141)
HSLhsl(297, 53%, 36%)
HSVhsv(297, 70%, 55%)
CMYKcmyk(3.5%, 69.5%, 0%, 44.7%)
CIE-LABlab(35.76, 51.94, -34.95)
CIE-LCHlch(35.76, 62.61, 326.06°)
OKLaboklab(46.87% 0.1424 -0.097)
OKLCHoklch(46.87% 0.172 325.7)
XYZxyz(15.8246, 8.8861, 26.0758)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B8D #308D2B
analogous
#572B8D #882B8D #8D2B61
triadic
#882B8D #8D882B #2B8D88
tetradic
#882B8D #8D572B #308D2B #2B618D
square
#882B8D #8D572B #308D2B #2B618D
split-complementary
#882B8D #618D2B #2B8D57
monochromatic
#2E0E2F #5B1D5E #882B8D #B539BC #CA63CF

Accessibility & contrast

On white

7.56
#882B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#882B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B8D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B8D#FFFFFF#000000##FFFFFF
##882B8D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#40588B
Tritanopia (blue-blind)
#8B3A59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #882b8d;
/* rgb */ color: rgb(136, 43, 141);
/* oklch */ color: oklch(46.9% 0.172 325.7);
Tailwind
colors: {
  custom: {
    50: '#ae6daf',
    500: '#882b8d',
    950: '#000000',
  },
}
SCSS
$custom: #882b8d;
$custom-light: #ae6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#882b8d",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 296.939,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.17233,
    "h": 325.7
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#882B8D
secondary
#63B65E
accent
#DD4B53
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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