#882CA8#882CA8

#882CA8 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.195 H 315.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#882CA8
RGBrgb(136, 44, 168)
HSLhsl(285, 58%, 42%)
HSVhsv(285, 74%, 66%)
CMYKcmyk(19%, 73.8%, 0%, 34.1%)
CIE-LABlab(37.60, 56.75, -48.39)
CIE-LCHlch(37.60, 74.58, 319.55°)
OKLaboklab(48.72% 0.1398 -0.1363)
OKLCHoklch(48.72% 0.195 315.7)
XYZxyz(18.1208, 9.8635, 37.9875)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA8 #4CA82C
analogous
#4A2CA8 #882CA8 #A82C8A
triadic
#882CA8 #A8882C #2CA888
tetradic
#882CA8 #A84A2C #4CA82C #2C8AA8
square
#882CA8 #A84A2C #4CA82C #2C8AA8
split-complementary
#882CA8 #8AA82C #2CA84A
monochromatic
#391347 #611F78 #882CA8 #AA43CE #C074DB

Accessibility & contrast

On white

7.06
#882CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#882CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882CA8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA8#FFFFFF#000000##FFFFFF
##882CA81.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#2A5BA5
Tritanopia (blue-blind)
#864668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ca8;
/* rgb */ color: rgb(136, 44, 168);
/* oklch */ color: oklch(48.7% 0.195 315.7);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#882ca8',
    950: '#000000',
  },
}
SCSS
$custom: #882ca8;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca8",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 284.516,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48718,
    "c": 0.19526,
    "h": 315.7
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#882CA8
secondary
#83C26E
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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