#882CA4#882CA4

#882CA4 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 317.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#882CA4
RGBrgb(136, 44, 164)
HSLhsl(286, 58%, 41%)
HSVhsv(286, 73%, 64%)
CMYKcmyk(17.1%, 73.2%, 0%, 35.7%)
CIE-LABlab(37.33, 55.95, -46.42)
CIE-LCHlch(37.33, 72.70, 320.32°)
OKLaboklab(48.44% 0.1403 -0.1305)
OKLCHoklch(48.44% 0.192 317.1)
XYZxyz(17.7539, 9.7167, 36.0551)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA4 #48A42C
analogous
#4C2CA4 #882CA4 #A42C84
triadic
#882CA4 #A4882C #2CA488
tetradic
#882CA4 #A44C2C #48A42C #2C84A4
square
#882CA4 #A44C2C #48A42C #2C84A4
split-complementary
#882CA4 #84A42C #2CA44C
monochromatic
#381243 #601F74 #882CA4 #AC41CC #C171D9

Accessibility & contrast

On white

7.14
#882CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA4#FFFFFF#000000##FFFFFF
##882CA41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2E5BA1
Tritanopia (blue-blind)
#874565
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ca4;
/* rgb */ color: rgb(136, 44, 164);
/* oklch */ color: oklch(48.4% 0.192 317.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ec0',
    500: '#882ca4',
    950: '#000000',
  },
}
SCSS
$custom: #882ca4;
$custom-light: #ae6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca4",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 286,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.1916,
    "h": 317.1
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#882CA4
secondary
#7FC06B
accent
#E1476B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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