#882B7F#882B7F

#882B7F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.161 H 332.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#882B7F
RGBrgb(136, 43, 127)
HSLhsl(306, 52%, 35%)
HSVhsv(306, 68%, 53%)
CMYKcmyk(0%, 68.4%, 6.6%, 46.7%)
CIE-LABlab(34.99, 49.48, -27.51)
CIE-LCHlch(34.99, 56.62, 330.93°)
OKLaboklab(46.06% 0.1417 -0.0755)
OKLCHoklch(46.06% 0.161 332)
XYZxyz(14.8480, 8.4954, 20.9323)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882B7F #2B8834
analogous
#622B88 #882B7F #882B51
triadic
#882B7F #7F882B #2B7F88
tetradic
#882B7F #88622B #2B8834 #2B5188
square
#882B7F #88622B #2B8834 #2B5188
split-complementary
#882B7F #51882B #2B8862
monochromatic
#2B0E28 #5A1C54 #882B7F #B63AAA #CD61C2

Accessibility & contrast

On white

7.78
#882B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#882B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882B7F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882B7F#FFFFFF#000000##FFFFFF
##882B7F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#8E3451
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882b7f;
/* rgb */ color: rgb(136, 43, 127);
/* oklch */ color: oklch(46.1% 0.161 332.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ca4',
    500: '#882b7f',
    950: '#000000',
  },
}
SCSS
$custom: #882b7f;
$custom-light: #ae6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#882b7f",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 305.806,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.16057,
    "h": 332
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#882B7F
secondary
#5CB364
accent
#DB5A4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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