#881FA8#881FA8

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

Color values

HEX#881FA8
RGBrgb(136, 31, 168)
HSLhsl(286, 69%, 39%)
HSVhsv(286, 82%, 66%)
CMYKcmyk(19%, 81.5%, 0%, 34.1%)
CIE-LABlab(36.07, 61.16, -50.86)
CIE-LCHlch(36.07, 79.55, 320.26°)
OKLaboklab(47.64% 0.151 -0.1435)
OKLCHoklch(47.64% 0.208 316.5)
XYZxyz(17.7101, 9.0421, 37.8506)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881FA8 #3FA81F
analogous
#431FA8 #881FA8 #A81F84
triadic
#881FA8 #A8881F #1FA888
tetradic
#881FA8 #A8431F #3FA81F #1F84A8
square
#881FA8 #A8431F #3FA81F #1F84A8
split-complementary
#881FA8 #84A81F #1FA843
monochromatic
#340C41 #5E1574 #881FA8 #B02CD8 #C360E2

Accessibility & contrast

On white

7.48
#881FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#881FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881FA8
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881FA8#FFFFFF#000000##FFFFFF
##881FA81.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1E58A5
Tritanopia (blue-blind)
#864065
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #881fa8;
/* rgb */ color: rgb(136, 31, 168);
/* oklch */ color: oklch(47.6% 0.208 316.5);
Tailwind
colors: {
  custom: {
    50: '#af69c3',
    500: '#881fa8',
    950: '#000000',
  },
}
SCSS
$custom: #881fa8;
$custom-light: #af69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#881fa8",
  "rgb": {
    "r": 136,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 285.985,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.20829,
    "h": 316.5
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#881FA8
secondary
#75C65D
accent
#EC3C65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #881FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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