#881B87#881B87

#881B87 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.185 H 328.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#881B87
RGBrgb(136, 27, 135)
HSLhsl(301, 67%, 32%)
HSVhsv(301, 80%, 53%)
CMYKcmyk(0%, 80.1%, 0.7%, 46.7%)
CIE-LABlab(33.50, 56.37, -34.85)
CIE-LCHlch(33.50, 66.27, 328.27°)
OKLaboklab(45.13% 0.1579 -0.0966)
OKLCHoklch(45.13% 0.185 328.5)
XYZxyz(14.9183, 7.7685, 23.6307)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B87 #1B881C
analogous
#521B88 #881B87 #881B51
triadic
#881B87 #87881B #1B8788
tetradic
#881B87 #88521B #1B881C #1B5188
square
#881B87 #88521B #1B881C #1B5188
split-complementary
#881B87 #51881B #1B8852
monochromatic
#220722 #551154 #881B87 #BB25BA #DA44D8

Accessibility & contrast

On white

8.22
#881B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#881B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B87
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B87#FFFFFF#000000##FFFFFF
##881B871.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#8D2D51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #881b87;
/* rgb */ color: rgb(136, 27, 135);
/* oklch */ color: oklch(45.1% 0.185 328.5);
Tailwind
colors: {
  custom: {
    50: '#ae66aa',
    500: '#881b87',
    950: '#000000',
  },
}
SCSS
$custom: #881b87;
$custom-light: #ae66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#881b87",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 300.55,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.18508,
    "h": 328.5
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#881B87
secondary
#44BB45
accent
#EA403E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #881B87

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

Preview Lab → · Contrast checker → · Palette generator →

#881B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva