#882CA6#882CA6

#882CA6 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 316.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#882CA6
RGBrgb(136, 44, 166)
HSLhsl(285, 58%, 41%)
HSVhsv(285, 73%, 65%)
CMYKcmyk(18.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(37.46, 56.35, -47.41)
CIE-LCHlch(37.46, 73.64, 319.93°)
OKLaboklab(48.58% 0.14 -0.1334)
OKLCHoklch(48.58% 0.193 316.4)
XYZxyz(17.9359, 9.7895, 37.0138)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA6 #4AA62C
analogous
#4B2CA6 #882CA6 #A62C87
triadic
#882CA6 #A6882C #2CA688
tetradic
#882CA6 #A64B2C #4AA62C #2C87A6
square
#882CA6 #A64B2C #4AA62C #2C87A6
split-complementary
#882CA6 #87A62C #2CA64B
monochromatic
#391245 #601F76 #882CA6 #AB42CD #C073DA

Accessibility & contrast

On white

7.10
#882CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#882CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA6#FFFFFF#000000##FFFFFF
##882CA61.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#864667
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ca6;
/* rgb */ color: rgb(136, 44, 166);
/* oklch */ color: oklch(48.6% 0.193 316.4);
Tailwind
colors: {
  custom: {
    50: '#af6ec1',
    500: '#882ca6',
    950: '#000000',
  },
}
SCSS
$custom: #882ca6;
$custom-light: #af6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca6",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 285.246,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.19343,
    "h": 316.4
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#882CA6
secondary
#81C16D
accent
#E1466D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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