#881FA7#881FA7

#881FA7 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.207 H 316.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#881FA7
RGBrgb(136, 31, 167)
HSLhsl(286, 69%, 39%)
HSVhsv(286, 81%, 65%)
CMYKcmyk(18.6%, 81.4%, 0%, 34.5%)
CIE-LABlab(35.99, 60.97, -50.37)
CIE-LCHlch(35.99, 79.09, 320.44°)
OKLaboklab(47.56% 0.1512 -0.142)
OKLCHoklch(47.56% 0.207 316.8)
XYZxyz(17.6173, 9.0050, 37.3619)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881FA7 #3EA71F
analogous
#441FA7 #881FA7 #A71F82
triadic
#881FA7 #A7881F #1FA788
tetradic
#881FA7 #A7441F #3EA71F #1F82A7
square
#881FA7 #A7441F #3EA71F #1F82A7
split-complementary
#881FA7 #82A71F #1FA744
monochromatic
#340C40 #5E1573 #881FA7 #B02BD8 #C45FE1

Accessibility & contrast

On white

7.50
#881FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#881FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881FA7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881FA7#FFFFFF#000000##FFFFFF
##881FA71.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#2058A4
Tritanopia (blue-blind)
#864064
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #881fa7;
/* rgb */ color: rgb(136, 31, 167);
/* oklch */ color: oklch(47.6% 0.207 316.8);
Tailwind
colors: {
  custom: {
    50: '#af69c2',
    500: '#881fa7',
    950: '#000000',
  },
}
SCSS
$custom: #881fa7;
$custom-light: #af69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#881fa7",
  "rgb": {
    "r": 136,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 286.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.20745,
    "h": 316.8
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#881FA7
secondary
#74C65C
accent
#EC3C64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #881FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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