#881F9E#881F9E

#881F9E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.200 H 319.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#881F9E
RGBrgb(136, 31, 158)
HSLhsl(290, 67%, 37%)
HSVhsv(290, 80%, 62%)
CMYKcmyk(13.9%, 80.4%, 0%, 38%)
CIE-LABlab(35.37, 59.27, -45.96)
CIE-LCHlch(35.37, 75.00, 322.21°)
OKLaboklab(46.93% 0.1526 -0.1291)
OKLCHoklch(46.93% 0.2 319.8)
XYZxyz(16.8141, 8.6837, 33.1316)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881F9E #359E1F
analogous
#481F9E #881F9E #9E1F75
triadic
#881F9E #9E881F #1F9E88
tetradic
#881F9E #9E481F #359E1F #1F759E
square
#881F9E #9E481F #359E1F #1F759E
split-complementary
#881F9E #759E1F #1F9E48
monochromatic
#300B38 #5C156B #881F9E #B429D1 #C759DE

Accessibility & contrast

On white

7.67
#881F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#881F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881F9E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881F9E#FFFFFF#000000##FFFFFF
##881F9E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#2B579B
Tritanopia (blue-blind)
#883B5F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #881f9e;
/* rgb */ color: rgb(136, 31, 158);
/* oklch */ color: oklch(46.9% 0.200 319.8);
Tailwind
colors: {
  custom: {
    50: '#af69bb',
    500: '#881f9e',
    950: '#000000',
  },
}
SCSS
$custom: #881f9e;
$custom-light: #af69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#881f9e",
  "rgb": {
    "r": 136,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 289.606,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.1999,
    "h": 319.8
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#881F9E
secondary
#69C256
accent
#EA3E5C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #881F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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