#881F97#881F97

#881F97 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.194 H 322.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#881F97
RGBrgb(136, 31, 151)
HSLhsl(293, 66%, 36%)
HSVhsv(293, 79%, 59%)
CMYKcmyk(9.9%, 79.5%, 0%, 40.8%)
CIE-LABlab(34.90, 57.98, -42.45)
CIE-LCHlch(34.90, 71.86, 323.79°)
OKLaboklab(46.45% 0.1535 -0.1188)
OKLCHoklch(46.45% 0.194 322.3)
XYZxyz(16.2287, 8.4495, 30.0483)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881F97 #2E971F
analogous
#4C1F97 #881F97 #971F6A
triadic
#881F97 #97881F #1F9788
tetradic
#881F97 #974C1F #2E971F #1F6A97
square
#881F97 #974C1F #2E971F #1F6A97
split-complementary
#881F97 #6A971F #1F974C
monochromatic
#2D0A31 #5A1564 #881F97 #B629CA #CB54DC

Accessibility & contrast

On white

7.81
#881F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#881F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881F97
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881F97#FFFFFF#000000##FFFFFF
##881F971.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#325694
Tritanopia (blue-blind)
#8A385B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #881f97;
/* rgb */ color: rgb(136, 31, 151);
/* oklch */ color: oklch(46.4% 0.194 322.3);
Tailwind
colors: {
  custom: {
    50: '#af68b6',
    500: '#881f97',
    950: '#000000',
  },
}
SCSS
$custom: #881f97;
$custom-light: #af68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#881f97",
  "rgb": {
    "r": 136,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 292.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.19411,
    "h": 322.3
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#881F97
secondary
#60BF52
accent
#E93F54
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #881F97

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

Preview Lab → · Contrast checker → · Palette generator →

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