#882CA7#882CA7

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

Color values

HEX#882CA7
RGBrgb(136, 44, 167)
HSLhsl(285, 58%, 41%)
HSVhsv(285, 74%, 65%)
CMYKcmyk(18.6%, 73.7%, 0%, 34.5%)
CIE-LABlab(37.53, 56.55, -47.90)
CIE-LCHlch(37.53, 74.11, 319.74°)
OKLaboklab(48.65% 0.1399 -0.1349)
OKLCHoklch(48.65% 0.194 316.1)
XYZxyz(18.0280, 9.8263, 37.4988)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CA7 #4BA72C
analogous
#4B2CA7 #882CA7 #A72C89
triadic
#882CA7 #A7882C #2CA788
tetradic
#882CA7 #A74B2C #4BA72C #2C89A7
square
#882CA7 #A74B2C #4BA72C #2C89A7
split-complementary
#882CA7 #89A72C #2CA74B
monochromatic
#391246 #611F77 #882CA7 #AA43CD #C073DA

Accessibility & contrast

On white

7.08
#882CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882CA7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CA7#FFFFFF#000000##FFFFFF
##882CA71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882ca7;
/* rgb */ color: rgb(136, 44, 167);
/* oklch */ color: oklch(48.6% 0.194 316.1);
Tailwind
colors: {
  custom: {
    50: '#af6ec2',
    500: '#882ca7',
    950: '#000000',
  },
}
SCSS
$custom: #882ca7;
$custom-light: #af6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#882ca7",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 284.878,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48648,
    "c": 0.19435,
    "h": 316.1
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#882CA7
secondary
#82C26D
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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