#882E7F#882E7F

#882E7F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.156 H 332.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#882E7F
RGBrgb(136, 46, 127)
HSLhsl(306, 49%, 36%)
HSVhsv(306, 66%, 53%)
CMYKcmyk(0%, 66.2%, 6.6%, 46.7%)
CIE-LABlab(35.44, 48.23, -26.80)
CIE-LCHlch(35.44, 55.18, 330.94°)
OKLaboklab(46.39% 0.1381 -0.0735)
OKLCHoklch(46.39% 0.156 332)
XYZxyz(14.9611, 8.7217, 20.9700)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E7F #2E8837
analogous
#642E88 #882E7F #882E52
triadic
#882E7F #7F882E #2E7F88
tetradic
#882E7F #88642E #2E8837 #2E5288
square
#882E7F #88642E #2E8837 #2E5288
split-complementary
#882E7F #52882E #2E8864
monochromatic
#2D0F2A #5A1F54 #882E7F #B63DAA #CB65C1

Accessibility & contrast

On white

7.65
#882E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#882E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E7F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E7F#FFFFFF#000000##FFFFFF
##882E7F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#48587D
Tritanopia (blue-blind)
#8E3652
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #882e7f;
/* rgb */ color: rgb(136, 46, 127);
/* oklch */ color: oklch(46.4% 0.156 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad6ea4',
    500: '#882e7f',
    950: '#000000',
  },
}
SCSS
$custom: #882e7f;
$custom-light: #ad6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#882e7f",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 306,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.15643,
    "h": 332
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#882E7F
secondary
#60B268
accent
#D95D4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #882E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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