#881B8A#881B8A

#881B8A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.187 H 327.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#881B8A
RGBrgb(136, 27, 138)
HSLhsl(299, 67%, 32%)
HSVhsv(299, 80%, 54%)
CMYKcmyk(1.4%, 80.4%, 0%, 45.9%)
CIE-LABlab(33.68, 56.87, -36.42)
CIE-LCHlch(33.68, 67.53, 327.36°)
OKLaboklab(45.32% 0.1577 -0.1012)
OKLCHoklch(45.32% 0.187 327.3)
XYZxyz(15.1325, 7.8542, 24.7588)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881B8A #1D8A1B
analogous
#511B8A #881B8A #8A1B55
triadic
#881B8A #8A881B #1B8A88
tetradic
#881B8A #8A511B #1D8A1B #1B558A
square
#881B8A #8A511B #1D8A1B #1B558A
split-complementary
#881B8A #558A1B #1B8A51
monochromatic
#230724 #561157 #881B8A #BA25BD #D845DB

Accessibility & contrast

On white

8.17
#881B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#881B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881B8A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881B8A#FFFFFF#000000##FFFFFF
##881B8A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#8C2F53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #881b8a;
/* rgb */ color: rgb(136, 27, 138);
/* oklch */ color: oklch(45.3% 0.187 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae66ad',
    500: '#881b8a',
    950: '#000000',
  },
}
SCSS
$custom: #881b8a;
$custom-light: #ae66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#881b8a",
  "rgb": {
    "r": 136,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 298.919,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.1874,
    "h": 327.3
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#881B8A
secondary
#47BC45
accent
#EA3E41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #881B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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