#882CA1#882CA1

#882CA1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.189 H 318.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#882CA1
RGBrgb(136, 44, 161)
HSLhsl(287, 57%, 40%)
HSVhsv(287, 73%, 63%)
CMYKcmyk(15.5%, 72.7%, 0%, 36.9%)
CIE-LABlab(37.13, 55.35, -44.93)
CIE-LCHlch(37.13, 71.29, 320.93°)
OKLaboklab(48.24% 0.1405 -0.1262)
OKLCHoklch(48.24% 0.189 318.1)
XYZxyz(17.4861, 9.6096, 34.6451)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA1 #45A12C
analogous
#4D2CA1 #882CA1 #A12C80
triadic
#882CA1 #A1882C #2CA188
tetradic
#882CA1 #A14D2C #45A12C #2C80A1
square
#882CA1 #A14D2C #45A12C #2C80A1
split-complementary
#882CA1 #80A12C #2CA14D
monochromatic
#371241 #5F1F71 #882CA1 #AD40CB #C270D8

Accessibility & contrast

On white

7.19
#882CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#882CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA1#FFFFFF#000000##FFFFFF
##882CA11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#874364
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ca1;
/* rgb */ color: rgb(136, 44, 161);
/* oklch */ color: oklch(48.2% 0.189 318.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ebd',
    500: '#882ca1',
    950: '#000000',
  },
}
SCSS
$custom: #882ca1;
$custom-light: #ae6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca1",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 287.179,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.18887,
    "h": 318.1
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#882CA1
secondary
#7CBF6A
accent
#E04768
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#882CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva