#881A8A#881A8A

#881A8A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.188 H 327.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#881A8A
RGBrgb(136, 26, 138)
HSLhsl(299, 68%, 32%)
HSVhsv(299, 81%, 54%)
CMYKcmyk(1.4%, 81.2%, 0%, 45.9%)
CIE-LABlab(33.58, 57.14, -36.57)
CIE-LCHlch(33.58, 67.85, 327.38°)
OKLaboklab(45.25% 0.1585 -0.1016)
OKLCHoklch(45.25% 0.188 327.3)
XYZxyz(15.1100, 7.8091, 24.7513)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881A8A #1C8A1A
analogous
#501A8A #881A8A #8A1A54
triadic
#881A8A #8A881A #1A8A88
tetradic
#881A8A #8A501A #1C8A1A #1A548A
square
#881A8A #8A501A #1C8A1A #1A548A
split-complementary
#881A8A #548A1A #1A8A50
monochromatic
#220723 #551057 #881A8A #BB24BD #D943DC

Accessibility & contrast

On white

8.20
#881A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#881A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881A8A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881A8A#FFFFFF#000000##FFFFFF
##881A8A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#395487
Tritanopia (blue-blind)
#8C2E53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #881a8a;
/* rgb */ color: rgb(136, 26, 138);
/* oklch */ color: oklch(45.2% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#ae66ad',
    500: '#881a8a',
    950: '#000000',
  },
}
SCSS
$custom: #881a8a;
$custom-light: #ae66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#881a8a",
  "rgb": {
    "r": 136,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 298.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.18829,
    "h": 327.3
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#881A8A
secondary
#45BD43
accent
#EB3D40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #881A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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