#882F8A#882F8A

#882F8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 326.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#882F8A
RGBrgb(136, 47, 138)
HSLhsl(299, 49%, 36%)
HSVhsv(299, 66%, 54%)
CMYKcmyk(1.4%, 65.9%, 0%, 45.9%)
CIE-LABlab(36.18, 49.75, -32.44)
CIE-LCHlch(36.18, 59.39, 326.89°)
OKLaboklab(47.11% 0.1377 -0.0898)
OKLCHoklch(47.11% 0.164 326.9)
XYZxyz(15.7570, 9.1033, 24.9670)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F8A #318A2F
analogous
#5B2F8A #882F8A #8A2F5F
triadic
#882F8A #8A882F #2F8A88
tetradic
#882F8A #8A5B2F #318A2F #2F5F8A
square
#882F8A #8A5B2F #318A2F #2F5F8A
split-complementary
#882F8A #5F8A2F #2F8A5B
monochromatic
#2E102F #5B1F5C #882F8A #B53FB8 #C968CC

Accessibility & contrast

On white

7.45
#882F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#882F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F8A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F8A#FFFFFF#000000##FFFFFF
##882F8A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#8C3C58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #882f8a;
/* rgb */ color: rgb(136, 47, 138);
/* oklch */ color: oklch(47.1% 0.164 326.9);
Tailwind
colors: {
  custom: {
    50: '#ae6fac',
    500: '#882f8a',
    950: '#000000',
  },
}
SCSS
$custom: #882f8a;
$custom-light: #ae6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#882f8a",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 298.681,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.1644,
    "h": 326.9
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#882F8A
secondary
#64B362
accent
#D94F52
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #882F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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